You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constructor(props) {
super(props)
this.state = { color: toHsv('red') }
this.onColorChange = this.onColorChange.bind(this)
}
onColorChange(color) {
console.log("color", color)
this.setState({ color })
}
render(){
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
<View style={{flex: 1, padding: 45, backgroundColor: "#212021"}}>
<Text style={{color: "white"}}>
React Native Color Picker - Controlled
</Text>
<TriangleColorPicker
oldColor="purple"
color={this.state.color}
onColorChange={this.onColorChange}
onColorSelected={color => alert(`Color selected: ${color}`)}
onOldColorSelected={color => alert(`Old color selected: ${color}`)}
style={{flex: 1}}
/>
</View>
</View>
The text was updated successfully, but these errors were encountered:
RupamShaw
changed the title
Ios14 colorpicker triangle single color inside triangle
xcode 12 -Ios14 -colorpicker triangle single color inside triangle
Sep 23, 2020
xcode 12
expo init AwesomeProject
The text was updated successfully, but these errors were encountered: