@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
49 lines (45 loc) • 1.46 kB
JavaScript
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _reactNative = require('react-native');
exports['default'] = function (theme) {
return _reactNative.StyleSheet.create({
container: {
borderTopWidth: _reactNative.StyleSheet.hairlineWidth,
borderTopColor: theme.border_color_base
},
header: {
flexDirection: 'row',
alignItems: 'center',
paddingLeft: theme.h_spacing_lg,
paddingRight: 2 * theme.h_spacing_lg,
borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
borderBottomColor: theme.border_color_base
},
arrow: {
color: theme.color_icon_base
},
headerWrap: {
flex: 1,
height: theme.list_item_height,
alignItems: 'center',
flexDirection: 'row'
},
headerText: {
color: theme.color_text_base,
fontSize: theme.font_size_heading
},
content: {
paddingVertical: theme.v_spacing_md,
paddingHorizontal: theme.h_spacing_md,
borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
borderBottomColor: theme.border_color_base
},
contentText: {
fontSize: theme.font_size_subhead,
color: theme.color_text_paragraph
}
});
};
module.exports = exports['default'];