react-native-speedometer-gauge
v0.2.0
Published
A React Native component for showing speedometer like a gauge.
Downloads
123
Maintainers
Readme
react-native-speedometer-gauge
A React Native component for showing speedometer like a gauge.
Getting Started
Installation
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
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