React native SegmentedControlIOS alternative with font support and android compatible
npm install sepsegmentedcontrol``bash`
npm i sepsegmentedcontrol --save
`javascript
import {SEPSegmentedControl, Item} from "sepsegmentedcontrol";
export default class App extends Component
render() {
return (
console.log(index, " clicked!")
}}>
);
}
}
`
style`: General style including `fontFamily`
2. `isReverse`: Boolean value indicating items order
3. `tintColor`: Color of SegmentedControl
4. `onItemChange`: callback function when user selects an itemAvailable Item props:
1. `style`: General style including `fontFamily`
2. `tintColor``: Color of SegmentedControl