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
45 lines (44 loc) • 939 B
TypeScript
import React from 'react';
interface Props {
/**
* Initial value of the Stepper.
*/
value?: number;
/**
* Minimum value.
*/
minValue?: number;
/**
* Maximum value.
*/
maxValue?: number;
/**
* The step to increase and decrease by (default is 1)
*/
step?: number;
/**
* On value change callback function
*/
onValueChange?: (value: number, testID?: string) => void;
/**
* disables interaction with the stepper
*/
disabled?: boolean;
/**
* Renders a small sized Stepper
*/
small?: boolean;
/**
* Component accessibility label
*/
accessibilityLabel?: string;
/**
* Test id for component
*/
testID?: string;
}
export declare type StepperProps = Props;
declare const _default: React.ComponentClass<Props & {
useCustomTheme?: boolean | undefined;
}, any>;
export default _default;