UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

33 lines (31 loc) 735 B
import { mode } from '../tools'; const defaultProps = { size: 'sm', step: 1, min: -Infinity, max: Infinity, defaultValue: '0', keepWithinRange: true, clampValueOnBlur: true, focusInputOnChange: true, getAriaValueText: true }; export default { defaultProps }; //Steppers const stepperbaseStyle = props => { return { bg: mode('primary.600', 'primary.200')(props), iconColor: mode('gray.50', 'gray.800')(props), _active: {}, _disabled: { // iconColor: mode('gray.50', 'gray.300')(props), // bg: mode('blackAlpha.200', 'whiteAlpha.300')(props), opacity: 0.5 } }; }; export const NumberInputStepper = { baseStyle: stepperbaseStyle }; //# sourceMappingURL=number-input.js.map