this package allows you to easily use the expo icons
npm install custom-icon
- Easy to use
- Accept all types of icons
- Cross platform
import IconCustom from 'icon-custom'
function App() {
return <IconCustom
iconName={"airplane"}
iconType={"Ionicons"}
size={60}
color={"black}
/>
}
Parameter | Type | Exemple |
---|---|---|
iconName |
string |
'airplane' |
iconType |
string |
'Ionicons' |
size |
number |
25 |
color |
string |
'black' |