1 | import { StyleSheet, Dimensions } from 'react-native';
|
2 | const SCREEN_WIDTH = Dimensions.get('window').width;
|
3 | const ITEM_WIDTH = SCREEN_WIDTH / 7;
|
4 | const styles = StyleSheet.create({
|
5 |
|
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 | });
|
26 | export default styles;
|
27 |
|
\ | No newline at end of file |