import {forwardRef, type PropsWithChildren, type ForwardedRef} from 'react'; import type { Header as HeaderElement, HeaderProperties, } from '@watching/clips/elements'; import {useCustomElementProperties} from './shared.ts'; export interface HeaderProps extends PropsWithChildren> { ref?: ForwardedRef; } declare module 'react' { namespace JSX { interface IntrinsicElements { 'ui-header': HeaderProps; } } } export const Header = forwardRef( function Header(props, ref) { const wrapperRef = useCustomElementProperties(props, ref); return ; }, );