UNPKG

reagraph

Version:

WebGL Node-based Graph for React

12 lines (10 loc) 339 B
import { FC } from 'react'; import { NodeRendererProps } from '../../types'; import { SvgProps as DreiSvgProps } from '@react-three/drei'; export type SvgProps = NodeRendererProps & Omit<DreiSvgProps, 'src' | 'id'> & { /** * The image to display on the icon. */ image: string; }; export declare const Svg: FC<SvgProps>;