Files
yaak-mountain-loop/src-web/components/core/Heading.tsx
Gregory Schier 59f1d11e40 Move stuff around
2023-03-13 23:30:14 -07:00

16 lines
355 B
TypeScript

import classnames from 'classnames';
import type { ReactNode } from 'react';
type Props = {
className?: string;
children?: ReactNode;
};
export function Heading({ className, children, ...props }: Props) {
return (
<h1 className={classnames(className, 'text-2xl font-semibold text-gray-900 mb-3')} {...props}>
{children}
</h1>
);
}