Skip to content

Commit

Permalink
Merge pull request #64 from aladdinstudios/fix-import-icon
Browse files Browse the repository at this point in the history
refactor: Import icons from MaterialCommunityIcon
  • Loading branch information
kuasha420 committed Sep 4, 2022
2 parents cd0e872 + 2da49c4 commit 5787637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Dropdown/Dropdown.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useCallback, useState } from 'react';
import { StyleSheet, TouchableOpacity } from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import { COLORS } from '../../theme';
import type { FCWithChildren } from '../../types/compat/react';
import { Div } from '../Div';
Expand Down Expand Up @@ -46,7 +46,7 @@ const Dropdown: FCWithChildren<DropdownProps> = ({
]}
>
<Text style={{ fontSize: __fontSize }}>{selected || __header}</Text>
<Icon name={'ios-arrow-down-outline'} size={22} color={COLORS.black} />
<Icon name={'arrow-down-thin'} size={22} color={COLORS.black} />
</TouchableOpacity>
{isItemVisible && <Div style={styles.childrenContainer}>{children}</Div>}
</DropdownContext.Provider>
Expand Down

0 comments on commit 5787637

Please sign in to comment.