UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

28 lines (27 loc) 1.17 kB
{ "name": "Stepper", "category": "Form", "description": "A stepper component", "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/componentScreens/StepperScreen.tsx", "images": [], "props": [ {"name": "value", "type": "number", "description": "Initial value of the Stepper"}, {"name": "minValue", "type": "number", "description": "Minimum value"}, {"name": "maxValue", "type": "number", "description": "Maximum value"}, { "name": "step", "type": "number", "description": "The step to increase and decrease by (default is 1)", "default": "1" }, { "name": "onValueChange", "type": "(value: number, testID?: string) => void", "description": "Value change callback function" }, {"name": "disabled", "type": "boolean", "description": "Disables interaction with the stepper"}, {"name": "small", "type": "boolean", "description": "Renders a small sized Stepper"}, {"name": "accessibilityLabel", "type": "string", "description": "Component accessibility label"}, {"name": "testID", "type": "string", "description": "Test id for component"} ] }