blakeblackshear.frigate/web/src/components/Heading.jsx

10 lines
271 B
React
Raw Normal View History

2021-01-09 18:26:46 +01:00
import { h } from 'preact';
export default function Heading({ children, className = '', size = '2xl' }) {
return (
<h1 className={`font-semibold tracking-widest text-gray-900 uppercase dark:text-white text-${size} ${className}`}>
{children}
</h1>
);
}