Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 547 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 547 Bytes

react-native-peity

Port for peity

Install from npm

react-native-peity

Basic usage

import { Line } from 'react-native-peity'

<>
  <Line data={[1, 5, 4, 2, 2]} />
  <Pie data={6} min={0} max={10} />
  <Bar data={[1, 5, 4, 2, 2]} />
  <Pie data={6} min={0} max={10} innerRadius={3} /> {/* donut */}
</>

ViewPager

Docs

More detailed usage can be found at benpickles.github.io/peity.