UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

15 lines (14 loc) 387 B
import { Component } from 'react'; import { d3Types } from './types'; export interface GraphProps { width: number; height: number; data: d3Types.d3Graph; } export declare class SampleGraph extends Component<GraphProps> { static defaultProps: {}; constructor(props: any); componentDidMount(): void; init: () => void; render(): JSX.Element; }