@kimizuy/react-chartjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

@kimizuy/react-chartjs

A simple React wrapper for Chart.js.

You can see a working demo and try with codesandbox.

Installation

npm install --save @kimizuy/react-chartjs
// or
yarn add @kimizuy/react-chartjs

Usage

import { Bar } from '@kimizuy/react-chartjs'

<Bar data={...} />

For developer

This repo is using Vite, TypeScript and yarn workspaces.

Clone this repo:

git clone https://github.com/kimizuy/react-chartjs.git

Install packages:

yarn

Run the example:

yarn example dev

Build for library:

yarn main build

LICENSE

MIT

Package Sidebar

Install

npm i @kimizuy/react-chartjs

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

618 kB

Total Files

5

Last publish

Collaborators

  • kimizuy