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

16 lines
360 B
TypeScript
Raw Permalink Normal View History

2025-10-13 14:57:11 +02:00
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",
2025-10-13 14:57:11 +02:00
className
)
return <h2 className={style}>{ children }</h2>
}
export default SectionTitle