mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* react-d3-graph types This is our first time submitting something to this git repo. This is the type definition for the node module 'react-d3-graph'. * Test added * tests fixed * Update package.json * Update react-d3-graph-tests.tsx * Update package.json * Delete package.json * Create tslint.json * Update index.d.ts * Update react-d3-graph-tests.tsx * Update package.json
33 lines
749 B
TypeScript
33 lines
749 B
TypeScript
// Type definitions for react-d3-graph 2.3
|
|
// Project: https://github.com/danielcaldas/react-d3-graph#readme
|
|
// Definitions by: hrngoode <https://github.com/me>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
import { Component } from "react";
|
|
|
|
export class Graph extends Component<any, any> {
|
|
constructor(props: any, ...args: any[]);
|
|
|
|
UNSAFE_componentWillReceiveProps(nextProps: any): any;
|
|
|
|
componentDidMount(): void;
|
|
|
|
componentDidUpdate(): void;
|
|
|
|
componentWillUnmount(): void;
|
|
|
|
render(): any;
|
|
}
|
|
|
|
export class Link extends Component<any, any> {
|
|
constructor(...args: any[]);
|
|
|
|
render(): any;
|
|
}
|
|
|
|
export class Node extends Component<any, any> {
|
|
constructor(...args: any[]);
|
|
|
|
render(): any;
|
|
}
|