React Trianglify
React Wrapper Component for trianglify
Installation
Using NPM:
npm install --save react-trianglify
Using Yarn:
yarn add react-trianglify
Dependencies
You must have react
and trianglify
already installed on your project.
Usage
import Trianglify from 'react-trianglify'
ReactDOM.render(
<Trianglify />,
$mountNode
)
Props
By taking output
, you can use any trianglify allowed options.
Possible output
values:
canvas
(default)svg
png
Storybook
You can access react-trianglify
live documentation here
License
MIT © Fernando Daciuk