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
15 lines
323 B
TypeScript
15 lines
323 B
TypeScript
import { Graph, Link, Node } from "react-d3-graph";
|
|
import * as React from 'react';
|
|
|
|
export class Example extends React.Component {
|
|
render(): React.ReactElement {
|
|
return (
|
|
<div>
|
|
<Graph id="test"/>
|
|
<Link/>
|
|
<Node/>
|
|
</div>
|
|
);
|
|
}
|
|
}
|