react-native-stepper-touch

0.0.4 • Public • Published

react-native-stepper-touch

Alt Text

Usage

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>
    );
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-native-stepper-touch

Weekly Downloads

36

Version

0.0.4

License

MIT

Unpacked Size

23.6 kB

Total Files

8

Last publish

Collaborators

  • nazrdogan