React native 如何使用带有两个标记的react native elements滑块?
你好,我是新来的。我在项目中使用react native elements滑块,但希望选择带有两个标记的范围。它正在使用一个标记 这是我的密码:React native 如何使用带有两个标记的react native elements滑块?,react-native,slider,React Native,Slider,你好,我是新来的。我在项目中使用react native elements滑块,但希望选择带有两个标记的范围。它正在使用一个标记 这是我的密码: <View style={{backgroundColor: "#fff"}}> <Slider style={{ width: '90%',marginLeft:20,marginRight:20 }} minimumValue={0} ma
<View style={{backgroundColor: "#fff"}}>
<Slider
style={{ width: '90%',marginLeft:20,marginRight:20 }}
minimumValue={0}
maximumValue={100}
step={1}
value={this.state.cost}
onValueChange={cost => console.log(cost)}
/>
<Text style={{marginLeft:20,marginRight:20}}>{this.state.cost}</Text>
</View>
console.log(成本)}
/>
{this.state.cost}
React Native Elements滑块不支持多个标记。但是,如果需要多个标记,则可以使用库