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