Files
yaak/src-web/components/core/Heading.tsx
2023-10-25 11:13:00 -07:00

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>
);
}