4.1.2 • Published 7 days ago

react-trianglify v4.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
7 days ago

React Trianglify

React Wrapper Component for trianglify

:us: English | :brazil: Português do Brasil

Installation

Using Bun:

bun add react-trianglify trianglify
# If you're using TypeScript, add these types as `devDependencies`:
bun add --dev @types/chroma-js

Using NPM:

npm install --save react-trianglify trianglify
# If you're using TypeScript, add these types as `devDependencies`:
npm install --save-dev @types/chroma-js

Using Yarn:

yarn add react-trianglify trianglify
# If you're using TypeScript, add these types as `devDependencies`:
yarn add --dev @types/chroma-js

Dependencies

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.

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

Live demo

You can access react-trianglify live demo here

Troubleshooting

Types in TypeScript are different from runtime

If you have installed the @types/trianglify, please remove this package. We already have the correct types for trianglify included in react-trianglify.

License

MIT © Fernando Daciuk

4.1.2

7 days ago

4.1.1

1 month ago

4.1.0

1 month ago

4.0.4

1 month ago

4.0.3

1 month ago

4.0.2

1 month ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.5

4 years ago

2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.4

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.0.0

7 years ago