React Wrapper Component for trianglify
🇺🇸 English | :brazil: Português do Brasil
Using NPM:
npm install --save react-trianglify trianglify
Using Yarn:
yarn add react-trianglify trianglify
You must have react
and trianglify
already installed on your project.
PS.: If you have any problems with latest trianglify version, try to install the tested version v4.1.1
.
import Trianglify from 'react-trianglify'
ReactDOM.render(
<Trianglify />,
$mountNode
)
By taking output
, you can use any trianglify allowed options.
Possible output
values:
canvas
(default)svg
You can access react-trianglify
live demo here
MIT © Fernando Daciuk