@niku/react-native-dropdown-select
Version:
A Dropdown select component for React Native
44 lines (39 loc) • 1.04 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.styles = void 0;
var _reactNative = require("react-native");
var _constants = require("../constants");
const styles = _reactNative.StyleSheet.create({
backdrop: {
width: _constants.screen.width,
flex: 1
},
dropdownContainer: {
position: 'absolute',
overflow: 'hidden',
minWidth: _constants.DROPDOWN_MIN_WIDTH,
minHeight: 20,
maxHeight: _constants.DROPDOWN_MAX_HEIGHT,
backgroundColor: 'white',
borderBottomLeftRadius: 5,
borderBottomRightRadius: 5,
borderLeftWidth: 1,
borderLeftColor: '#dddddd',
borderRightWidth: 1,
borderRightColor: '#dddddd',
borderTopWidth: 1,
borderTopColor: '#dddddd',
borderBottomWidth: 1,
borderBottomColor: '#dddddd'
},
dropdownContainerPositionTop: {
borderBottomLeftRadius: 0,
borderBottomRightRadius: 0,
borderTopLeftRadius: 5,
borderTopRightRadius: 5
}
});
exports.styles = styles;
//# sourceMappingURL=styles.js.map