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