import type { ComponentProps } from 'react' import React from 'react' import { useReactNodeView } from './useReactNodeView.js' export type NodeViewContentProps = { as?: NoInfer } & ComponentProps export function NodeViewContent({ as: Tag = 'div' as T, ...props }: NodeViewContentProps) { const { nodeViewContentRef, nodeViewContentChildren } = useReactNodeView() return ( // @ts-ignore {nodeViewContentChildren} ) }