mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-01 06:53:11 +02:00
More layout fiddling and error page
This commit is contained in:
12
src-web/components/Heading.tsx
Normal file
12
src-web/components/Heading.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import classnames from 'classnames';
|
||||
import type { HTMLAttributes } from 'react';
|
||||
|
||||
type Props = HTMLAttributes<HTMLHeadingElement>;
|
||||
|
||||
export function Heading({ className, children, ...props }: Props) {
|
||||
return (
|
||||
<h1 className={classnames(className, 'text-2xl font-semibold text-gray-900 mb-3')} {...props}>
|
||||
{children}
|
||||
</h1>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user