mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 13:01:30 +01:00
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
type SectionHeadingProps = React.ComponentPropsWithRef<'h2'>
|
|
|
|
export const SectionHeading: React.FC<SectionHeadingProps> = (props) => {
|
|
const { children, ...rest } = props
|
|
|
|
return (
|
|
<h2 {...rest} className='text-4xl font-semibold text-center mt-1 mb-7'>
|
|
{children}
|
|
</h2>
|
|
)
|
|
}
|