ios&android segmented
<Segmented
dataSource={['hello1', 'hello2', 'hello3']} //data(required)
onPress={(index, text) => {}} //callback(required)
fontSize={14} fontSize={"#000"}
backgroundColor={"#000"}
bottomColor={"#000"}
borderColor={"#ccc"}
/>
##USE
- step1:
npm i --save exciting-segmented
- step2:
import Segmented from 'exciting-segmented'
- step3:
<Segmented dataSource={['text']}/>
##PROBLEM