@fruits-chain/react-native-xiaoshu
Version:
React Native UI library
39 lines (35 loc) • 928 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.createStyles = void 0;
var _reactNative = require("react-native");
const createStyles = themeVar => {
return _reactNative.StyleSheet.create({
divider: {
flexDirection: 'row',
alignItems: 'center',
marginVertical: themeVar.divider_margin_vertical
},
border: {
height: 0,
// borderColor: '#000', // to test ui
borderColor: themeVar.divider_border_color,
flex: 1,
maxWidth: 'auto'
},
border_left: {
marginRight: themeVar.divider_margin_horizontal
},
border_right: {
marginLeft: themeVar.divider_margin_horizontal
},
text: {
color: themeVar.divider_text_color,
fontSize: themeVar.divider_font_size,
lineHeight: themeVar.divider_line_height
}
});
};
exports.createStyles = createStyles;
//# sourceMappingURL=style.js.map