mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-12-12 20:46:52 +01:00
build(deps): bump next to 11.0.0
This commit is contained in:
@@ -1,20 +1,11 @@
|
||||
import { forwardRef } from 'react'
|
||||
|
||||
type SectionHeadingProps = React.ComponentPropsWithRef<'h2'>
|
||||
|
||||
export const SectionHeading = forwardRef<
|
||||
HTMLHeadingElement,
|
||||
SectionHeadingProps
|
||||
>((props, ref) => {
|
||||
export const SectionHeading: React.FC<SectionHeadingProps> = (props) => {
|
||||
const { children, ...rest } = props
|
||||
|
||||
return (
|
||||
<h2
|
||||
ref={ref}
|
||||
{...rest}
|
||||
className='text-4xl font-semibold text-center mt-1 mb-7'
|
||||
>
|
||||
<h2 {...rest} className='text-4xl font-semibold text-center mt-1 mb-7'>
|
||||
{children}
|
||||
</h2>
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user