0.2.0 • Published 7 years ago
react-native-speedometer-gauge v0.2.0
react-native-speedometer-gauge
A React Native component for showing speedometer like a gauge.
Getting Started
Installation
NPM:
$ npm install --save react-native-speedometer-gaugeYarn:
$ yarn add react-native-speedometer-gaugeLink the ART library to your React Native project (how to link a library). You'll find the React ART library in node_modules/react-native/Libraries/ART/ART.xcodeproj
Basic Usage
import React, { Component } from 'react';
import SpeedometerGauge from 'react-native-speedometer-gauge';
export default class App extends Component {
render() {
return (
<SpeedometerGauge />
);
}
}Properties
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
| value | number | none | true | A value between minValue and maxValue |
| minValue | number | none | true | |
| maxValue | number | none | true |
Examples
@Todo
