dishplanner/frontend-old/app/components/ui/SectionTitle.tsx

16 lines
No EOL
360 B
TypeScript

import classNames from "classnames";
interface Props {
children: string;
className?: string;
}
const SectionTitle = ({ children, className }: Props) => {
const style = classNames("block font-size-18 uppercase w-full pl-2 text-accent-blue",
className
)
return <h2 className={style}>{ children }</h2>
}
export default SectionTitle