A React Native swipeable SegmentedControl component for iOS and Android <img src="https://github.com/ainurb/react-native-segment-control/blob/master/example/example1.gif" width="30%" /> <img src="https://github.com/ainurb/react-native-segment-control/blob
npm install react-native-segment-controlA React Native swipeable SegmentedControl component for iOS and Android

```
$ npm install react-native-segment-control --save
`JSX
import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
import SegmentControl from 'react-native-segment-control';
const One = () => {
return
};
const Two = () => {
return
};
const segments = [
{
title: 'One',
view: One
},
{
title: 'Two',
view: Two
}
];
const App = () => {
return (
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#F5F7FA',
justifyContent: 'center'
},
text: {
alignSelf: 'center',
margin: 50
}
});
export default App;
``