【文件属性】:
文件名称:react-native-pie-chart:适用于您的React Native应用程序的简单饼图模块
文件大小:112KB
文件格式:ZIP
更新时间:2021-05-05 03:49:16
pie-chart react-native pie doughnut JavaScript
React本机饼图
适用于您的React Native应用程序的简单饼图模块。 注意:现在同时支持ios和android。
入门
安装~$ npm install react-native-pie-chart --save
将ART链接到您的项目(仅ios需要执行此步骤)
设定范例
# Clone package
~ $ git clone https://github.com/genexu/react-native-pie-chart.git
# Setup ART and dependencies
# Notice: link ART to example/ios/example.xcodeproj (ios only)
~ $ cd react-native-pie-chart/example
~ $ npm run-script setup
# Run simulator
#
【文件预览】:
react-native-pie-chart-master
----.eslintrc.json(706B)
----.gitignore(28B)
----package.json(593B)
----src()
--------Pie.js(2KB)
--------index.js(1KB)
--------Wedge.js(6KB)
----README.md(3KB)
----example()
--------.gitignore(774B)
--------.babelrc(31B)
--------.flowconfig(1KB)
--------package.json(580B)
--------.buckconfig(114B)
--------android()
--------.watchmanconfig(2B)
--------ios()
--------__tests__()
--------index.ios.js(1KB)
--------index.android.js(1KB)
--------.gitattributes(16B)
--------app.json(51B)
----.npmignore(5B)