mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-17 23:14:03 +01:00
13 lines
345 B
TypeScript
13 lines
345 B
TypeScript
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>
|
|
);
|
|
}
|