Closed hnty545 closed 7 years ago
———————————— this._statusOptions = [ { key: '', value: '全部' }, { key: '0', value: '未开通' }, { key: '1', value: '已开通' }, { key: '2', value: '已停用' } ]
<SegmentedControls tint={COLOR.theme} options={this._statusOptions} extractText={(option) => option.value} onSelection={this._selectedStatus}/>
The Fix is here : https://github.com/ArnaudRinquin/react-native-radio-buttons/pull/75
thanks! suggest updating to npm.
@ArnaudRinquin
Should good now ;)
———————————— this._statusOptions = [ { key: '', value: '全部' }, { key: '0', value: '未开通' }, { key: '1', value: '已开通' }, { key: '2', value: '已停用' } ]
<SegmentedControls tint={COLOR.theme} options={this._statusOptions} extractText={(option) => option.value} onSelection={this._selectedStatus}/>