Files
frigate/web/src/components/Heading.jsx
T

6 lines
219 B
React
Raw Normal View History

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