dishplanner/frontend/src/components/ui/SectionTitle.tsx

16 lines
350 B
TypeScript
Raw 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 text-lg uppercase w-full pl-2 text-accent",
2025-10-13 14:57:11 +02:00
className
)
return <h2 className={style}>{ children }</h2>
}
export default SectionTitle