-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme and scrollable props plus fixes
- Loading branch information
Showing
7 changed files
with
67 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# react-native-slide-charts | ||
|
||
[![Version](https://img.shields.io/npm/v/react-native-slide-charts.svg)](https://www.npmjs.com/package/react-native-slide-charts) | ||
[![NPM](https://img.shields.io/npm/dm/react-native-slide-charts.svg)](https://www.npmjs.com/package/react-native-slide-charts) | ||
|
||
`react-native-slide-charts` uses [`react-native-svg`](https://github.com/react-native-community/react-native-svg), [`d3`](https://github.com/d3/d3), and [`react-native-gesture-handler`](https://github.com/software-mansion/react-native-gesture-handler) to create interactive charts. | ||
|
||
## [Check out the demo in expo](https://snack.expo.io/@nhannah/react-native-slide-charts) | ||
|
||
## Features | ||
|
||
### Bar Chart | ||
|
||
### Area Chart | ||
|
||
TODO: Gifs | ||
|
||
--- | ||
|
||
## Installation | ||
|
||
--- | ||
|
||
```console | ||
$ npm install react-native-slide-charts --save | ||
``` | ||
|
||
or | ||
|
||
```console | ||
$ yarn add react-native-slide-charts | ||
``` | ||
|
||
### Peer Dependencies | ||
|
||
`react-native-slide-charts` depends on three peer dependencies with native modules that must be installed alongside it. Follow the installation instructions for both iOS and Android for all three packages. | ||
|
||
| Package | Minimum Version | Maximum Version | | ||
| ----------------------------------------------------------------------------------------------------- | --------------- | --------------- | | ||
| [`react-native-svg`](https://github.com/react-native-community/react-native-svg) | 7.0.0 | 9.x | | ||
| [`react-native-gesture-handler`](https://github.com/software-mansion/react-native-gesture-handler) | 1.1.0 | 1.x | | ||
| [`react-native-haptic-feedback`](https://github.com/milk-and-cookies-io/react-native-haptic-feedback) | 1.8.0 | 1.x | | ||
|
||
#### NOTICE: | ||
|
||
Make sure the version of the native module packages chosen works with the `react-native` version of the project. Manually linking the projects may be required depending on the version and platform. | ||
|
||
--- | ||
|
||
## Usage | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters