A React Native component for showing speedometer like a gauge.
NPM:
$ npm install --save react-native-speedometer-gauge
Yarn:
$ yarn add react-native-speedometer-gauge
Link 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
import React, { Component } from 'react';
import SpeedometerGauge from 'react-native-speedometer-gauge';
export default class App extends Component {
render() {
return (
<SpeedometerGauge />
);
}
}
Prop | Type | Default | Required | Description |
---|---|---|---|---|
value | number | none | true | A value between minValue and maxValue |
minValue | number | none | true | |
maxValue | number | none | true |
@Todo