/pane

React-Native View component with inline styles

Primary LanguageJavaScript

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.