UNPKG

693 BJavaScriptView Raw
1import { StyleSheet, Dimensions } from 'react-native';
2const SCREEN_WIDTH = Dimensions.get('window').width;
3const ITEM_WIDTH = SCREEN_WIDTH / 7;
4const styles = StyleSheet.create({
5 // CalenderHeader组件内部样式
6 header: {
7 paddingTop: 10,
8 paddingBottom: 10,
9 },
10 labelStyle: {
11 fontSize: 14,
12 color: '#8B8B8B',
13 width: SCREEN_WIDTH / 7,
14 textAlign: 'center',
15 },
16 dot: {
17 backgroundColor: 'red',
18 marginLeft: (ITEM_WIDTH - 5) / 2,
19 width: 5,
20 height: 5,
21 borderRadius: 2.5,
22 marginTop: 5,
23 },
24 container: { flex: 1 },
25});
26export default styles;
27//# sourceMappingURL=style.js.map
\No newline at end of file