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

17 lines
379 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,
}
2025-11-09 13:09:22 +01:00
const PageTitle = ({ children, className }: Props) => {
2025-10-13 14:57:11 +02:00
const styles = classNames(
'ml-4 text-2xl font-default uppercase w-full text-accent-blue font-bold',
2025-10-13 14:57:11 +02:00
className,
)
return <h1 className={styles}>{ children }</h1>
}
export default PageTitle