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

17 lines
No EOL
379 B
TypeScript

import classNames from "classnames";
interface Props {
children: string,
className?: string,
}
const PageTitle = ({ children, className }: Props) => {
const styles = classNames(
'ml-4 text-2xl font-default uppercase w-full text-accent-blue font-bold',
className,
)
return <h1 className={styles}>{ children }</h1>
}
export default PageTitle