import {forwardRef, type PropsWithChildren, type ForwardedRef} from 'react'; import type { Footer as FooterElement, FooterProperties, } from '@watching/clips/elements'; import {ViewProps} from './View.tsx'; import {useCustomElementProperties} from './shared.ts'; export interface FooterProps extends PropsWithChildren, keyof ViewProps>>, Omit { ref?: ForwardedRef; } declare module 'react' { namespace JSX { interface IntrinsicElements { 'ui-footer': FooterProps; } } } export const Footer = forwardRef( function Footer(props, ref) { const wrapperRef = useCustomElementProperties(props, ref); return ; }, );