Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,11 @@ export const CountryList = ({
};


type StyleKeys = 'container' | 'modal' | 'modalInner' | 'searchBar' | 'countryMessage' | 'line';
type ViewStyleKeys = 'container' | 'modal' | 'modalInner' | 'countryMessage' | 'line';
type TextStyleKeys = 'searchBar';
type StylesType = { [key in ViewStyleKeys]: ViewStyle } & { [key in TextStyleKeys]: TextStyle };

const styles: { [key in StyleKeys]: ViewStyle } = {
const styles: StylesType = {
container: {
flex: 1,
position: 'absolute',
Expand Down