react-native-toggle-buttons
npm install react-native-toggle-buttonsreact-native-toggle-buttons
``sh`
npm install react-native-toggle-buttons
`js
import ToggleButton from 'react-native-toggle-buttons';
// ...
``
| name | default | description |
| ------------- | :-------------: | ---------------------: |
| selected | null | selected value |
| space | 0 | space between buttons |
| buttonStyle | {} | button style |
| color | 'gray' | buttons color |
| colorSelected | 'blue' | selected button color |
| textColor | null | button text color |
| onValueChange | (value) => func | button selection event |
| name | default | description |
| ----- | :-----: | -----------: |
| title | null | button title |
| value | null | button value |
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT