A Customizable Speedometer Implementation in React Native
A Customizable Speedometer Implementation in React Native
A Customizable Speedometer Implementation in React Native
$ npm i react-native-speedometer --save…| Prop | Default | Type | Description |
|---|---|---|---|
| value | required | number | Current Value |
| size | Default Labels | number | Size |
| defaultValue | 50 | number | Default Value |
| minValue | 0 | number | Minimum Limit |
| maxValue | 100 | number | Maximum Value |
| allowedDecimals | 0 | number | Allowed Decimal Places |
| easeDuration | 500 | number | Ease Duration for the Needle animation |
| labels | Default Labels | array | Labels List |
| needleImage | Default Needle Image | string | Absolute path to the Needle Image |
| wrapperStyle | {} | object | Wrapper Style |
| outerCircleStyle | {} | object | Outer Circle Style |
| halfCircleStyle | {} | object | Half Circle Style |
| imageWrapperStyle | {} | object | Needle Image Wrapper Style |
| imageStyle | {} | object | Needle Image Style |
| innerCircleStyle | {} | object | Inner Circle Style |
| labelWrapperStyle | {} | object | Label Wrapper Style |
| labelStyle | {} | object | Label Style |
| labelNoteStyle | {} | object | Label Note Style |
…labels and labelIndex.Feel free to contact me or create an issue
No open issues yet, or sync has not completed.