forked from ant-design/ant-design-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
32 lines (31 loc) · 787 Bytes
/
index.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import variables from '../../style/themes/default';
export default {
container: {
marginLeft: variables.h_spacing_lg,
borderBottomWidth: variables.border_width_sm,
borderBottomColor: variables.border_color_base,
},
input: {
paddingHorizontal: variables.h_spacing_md,
backgroundColor: variables.fill_base,
fontSize: variables.font_size_heading,
lineHeight: Math.round(1.3 * variables.font_size_heading),
textAlignVertical: 'top',
},
icon: {
position: 'absolute',
top: 8,
width: variables.icon_size_xs,
height: variables.icon_size_xs,
},
errorIcon: {
position: 'absolute',
right: 18,
top: 12,
},
count: {
position: 'absolute',
right: variables.h_spacing_md,
bottom: variables.h_spacing_md,
},
};