import {forwardRef, type PropsWithChildren, type ForwardedRef} from 'react'; import type { BlockGrid as BlockGridElement, BlockGridProperties, } from '@watching/clips/elements'; import type {GridProps} from './Grid.tsx'; import {useCustomElementProperties} from './shared.ts'; export interface BlockGridProps extends PropsWithChildren< Omit, keyof GridProps> >, Omit { ref?: ForwardedRef; } declare module 'react' { namespace JSX { interface IntrinsicElements { 'ui-block-grid': BlockGridProps; } } } export const BlockGrid = forwardRef( function BlockGrid(props, ref) { const wrapperRef = useCustomElementProperties(props, ref); return ; }, );