export default class App extends Component{
state={
value:0,
};
render() {
return (
<View style={styles.container}>
<StepperTouch
value={this.state.value}
disabled={false}
containerStyle={{backgroundColor:"#FF5722"}}
signTextStyle={{fontSize:22}}
circleTextStyle={{color:"#FF5722"}}
innerContainerStyle={{paddingHorizontal:4}}
radius={35}
onValueChange={sign =>
this.setState({
value: sign === false ? this.state.value - 1 : this.state.value + 1,
})
}
/>
</View>
);
}
}
-
Notifications
You must be signed in to change notification settings - Fork 1
inspired from https://www.uplabs.com/posts/stepper-touch-interface
nazrdogan/react-native-stepper-touch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
inspired from https://www.uplabs.com/posts/stepper-touch-interface
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published