import {forwardRef, type PropsWithChildren, type ForwardedRef} from 'react'; import type { BlockStack as BlockStackElement, BlockStackProperties, } from '@watching/clips/elements'; import type {StackProps} from './Stack.tsx'; import {useCustomElementProperties} from './shared.ts'; export interface BlockStackProps extends PropsWithChildren< Omit, keyof StackProps> >, Omit { ref?: ForwardedRef; } declare module 'react' { namespace JSX { interface IntrinsicElements { 'ui-block-stack': BlockStackProps; } } } export const BlockStack = forwardRef( function BlockStack(props, ref) { const wrapperRef = useCustomElementProperties(props, ref); return ; }, );