ArnaudRinquin / react-native-radio-buttons

[DEPRECATED] A Radio-button like logic wrapper for React Native
https://www.npmjs.com/package/react-native-radio-buttons
MIT License
415 stars 98 forks source link

segmentedControl #65

Closed aureldev closed 7 years ago

aureldev commented 7 years ago

Hi, colors on segmented control arent working when I apply a redux state or component state action on it something handleRadio(text,index){ switch(index){ case 0: this.props.selected(index); //could use component state for that but they both don't work console.log(this.props.whoIsSelected); case 1: this.props.selected(index); console.log(this.props.whoIsSelected); } } <SegmentedControls style={{padding:5,margin:5}} options={options} tint={'#007AFF'} selectedTint={'white'} allowsFontScaling={false} onSelection={this.handleRadio.bind(this)} />

ArnaudRinquin commented 7 years ago

I can't read anything. Please make an effort to write a proper issue.