react-native-resegmented-control
Version:
A fully customizable, declarative component that mimics the design of UISegmentedControl from iOS 13. Supported on iOS and Android
34 lines • 870 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_native_1 = require("react-native");
var styles = react_native_1.StyleSheet.create({
container: {
backgroundColor: '#eeeeef',
flexDirection: 'row',
alignItems: 'center',
borderRadius: 8,
height: 28,
position: 'relative',
},
disabledContainer: {
opacity: 0.5,
},
slider: {
position: 'absolute',
top: 0,
left: 0,
zIndex: 1,
},
sliderDefault: {
height: '86%',
backgroundColor: 'white',
borderRadius: 7,
margin: 2,
shadowOffset: { width: 0.95, height: 0.95 },
shadowColor: '#a2a2a2',
shadowOpacity: 0.5,
shadowRadius: 2,
},
});
exports.default = styles;
//# sourceMappingURL=SegmentedControlStyles.js.map