blakeblackshear.frigate/web/src/components/Heading.jsx
2021-01-26 21:40:33 -06:00

6 lines
219 B
JavaScript

import { h } from 'preact';
export default function Heading({ children, className = '', size = '2xl' }) {
return <h1 className={`font-semibold tracking-widest uppercase text-${size} ${className}`}>{children}</h1>;
}