@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
42 lines (38 loc) • 1.11 kB
JavaScript
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _reactNative = require('react-native');
exports['default'] = function (theme) {
return _reactNative.StyleSheet.create({
container: {
borderBottomWidth: theme.border_width_sm,
borderBottomColor: theme.border_color_base
},
input: {
paddingHorizontal: theme.h_spacing_md,
backgroundColor: theme.fill_base,
fontSize: theme.font_size_heading,
lineHeight: Math.round(1.3 * theme.font_size_heading),
textAlignVertical: 'top'
},
icon: {
position: 'absolute',
top: 8,
width: theme.icon_size_xs,
height: theme.icon_size_xs
},
errorIcon: {
position: 'absolute',
right: 18,
top: 12
},
count: {
position: 'absolute',
right: theme.h_spacing_md,
bottom: theme.h_spacing_md
},
countText: {}
});
};
module.exports = exports['default'];