UNPKG

@react-three/uikit

Version:

Build performant 3D user interfaces with react-three-fiber and yoga.

11 lines (10 loc) 524 B
import { ReactNode, RefAttributes } from 'react'; import { R3FEventMap } from './utils.js'; import { ComponentInternals } from './ref.js'; import { ContentProperties as BaseContentProperties } from '@pmndrs/uikit/internals'; export type ContentProperties = { name?: string; children?: ReactNode; } & BaseContentProperties<R3FEventMap>; export type ContentRef = ComponentInternals<BaseContentProperties<R3FEventMap>>; export declare const Content: (props: ContentProperties & RefAttributes<ContentRef>) => ReactNode;