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