react-trianglify
TypeScript icon, indicating that this package has built-in type declarations

4.1.6 • Public • Published

React Trianglify

React Wrapper Component for trianglify

🇺🇸 English | 🇧🇷 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/trianglify

Using NPM:

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

Using Yarn:

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

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

License

GPL-3.0 © Fernando Daciuk

/react-trianglify/

    Package Sidebar

    Install

    npm i react-trianglify

    Weekly Downloads

    27

    Version

    4.1.6

    License

    GPL-3.0

    Unpacked Size

    72.3 kB

    Total Files

    6

    Last publish

    Collaborators

    • fdaciuk