rc-input-number
Version:
input-number ui component for react(web & react-native)
51 lines (48 loc) • 979 B
JavaScript
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _reactNative = require('react-native');
exports["default"] = _reactNative.StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center'
},
input: {
flex: 1,
textAlign: 'center',
paddingHorizontal: 8,
fontSize: 16,
color: '#222'
},
stepWrap: {
width: 28,
height: 28,
borderWidth: 1,
borderColor: '#d9d9d9',
borderRadius: 6,
backgroundColor: 'white'
},
stepText: {
textAlign: 'center',
fontSize: 20,
color: '#999',
backgroundColor: 'transparent'
},
stepDisabled: {
borderColor: '#d9d9d9',
backgroundColor: 'rgba(239, 239, 239, 0.72)'
},
disabledStepTextColor: {
color: '#ccc'
},
highlightStepTextColor: {
color: '#2DB7F5'
},
highlightStepBorderColor: {
borderColor: '#2DB7F5'
}
});
module.exports = exports['default'];