UNPKG

@react-three/uikit

Version:

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

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