-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathmodalStyles.ts
28 lines (27 loc) · 1.06 KB
/
modalStyles.ts
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
import { StyleProp, TextStyle, ViewStyle } from 'react-native';
export interface IModalStyles {
// Styles for whole modal [View]
modal?: StyleProp<ViewStyle>;
// Styles for modal backdrop [View]
backdrop?: StyleProp<ViewStyle>;
// Styles for search input [TextInput]
searchInput?: StyleProp<TextStyle>;
// Styles for the divider between the input and the countries list [View]
divider?: StyleProp<ViewStyle>;
// Styles for countries list [FlatList]
countriesList?: StyleProp<ViewStyle>;
// Styles for country button [TouchableOpacity]
countryButton?: StyleProp<ViewStyle>;
// Styles for country not found message container [View]
noCountryContainer?: StyleProp<ViewStyle>;
// Styles for country not found message [Text]
noCountryText?: StyleProp<TextStyle>;
// Flag styles [Text]
flag?: StyleProp<TextStyle>;
// Calling/Dial code styles [Text]
callingCode?: StyleProp<TextStyle>;
// Country name styles [Text]
countryName?: StyleProp<TextStyle>;
// Popular and rest of countries titles styles [Text]
sectionTitle?: StyleProp<TextStyle>;
}