mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-18 17:47:37 +01:00
11 lines
324 B
TypeScript
11 lines
324 B
TypeScript
import classnames from 'classnames';
|
|
import type { HTMLAttributes } from 'react';
|
|
|
|
export function Heading({ className, children, ...props }: HTMLAttributes<HTMLHeadingElement>) {
|
|
return (
|
|
<h1 className={classnames(className, 'text-2xl font-semibold text-gray-900 mb-3')} {...props}>
|
|
{children}
|
|
</h1>
|
|
);
|
|
}
|