UNPKG

@fruits-chain/react-native-xiaoshu

Version:
41 lines (40 loc) • 1.02 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.varCreator = exports.styleCreator = void 0; var _reactNative = require("react-native"); const varCreator = TOKENS => { return { // empty_image_width: 130, // empty_image_height: 115, empty_icon_margin_bottom: TOKENS.space_2, empty_text_color: TOKENS.gray_6, empty_text_font_size: TOKENS.font_size_3, empty_text_line_height: TOKENS.line_height_1 }; }; exports.varCreator = varCreator; const styleCreator = cv => { return _reactNative.StyleSheet.create({ empty: { // flex: 1, justifyContent: 'center', alignItems: 'center' }, emptyFull: { flex: 1 }, icon: { alignSelf: 'center', marginBottom: cv.empty_icon_margin_bottom }, text: { color: cv.empty_text_color, fontSize: cv.empty_text_font_size, lineHeight: cv.empty_text_line_height } }); }; exports.styleCreator = styleCreator; //# sourceMappingURL=style.js.map