Custom Icon not showing
See original GitHub issueI’m trying to use a custom icon for my Toast with BaseToast example code. I tried to search for similar issue but could not find the answer. I’m using react-native-vector-icons/FontAwesome5 as Icon. Thank you
import Icon from 'react-native-vector-icons/FontAwesome5';
....
<BaseToast
{...rest}
style={{borderLeftColor: 'pink'}}
contentContainerStyle={{paddingHorizontal: 15}}
text1Style={{
fontSize: 15,
fontWeight: '400',
}}
text1={text1}
text2={props.uuid}
leadingIcon={<Icon name="bell" color="green" size="10" />}
leadingIconStyle={{color: 'green'}}
onLeadingIconPress={() => console.log('press')}
/>
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Custom icons for applications are not showing up on the ...
1) Right-click on the taskbar · 2) Select Task manager · 3) Select more details if not expanded · 4) On the Processors...
Read more >What If the Custom Folder Icon Does Not Show?
What If the Custom Folder Icon Does Not Show? · Open FolderIco main window. · Add folder which you want to repair. If...
Read more >Custom icons not showing on the Taskbar - Windows 10 Forums
Custom icons not showing on the Taskbar · Open Settings, and click on the Personalization icon. · Click on Taskbar on the left...
Read more >Custom folder icon not showing - Apple Community
I'm trying to customize a folder icon by copying the desired image, going to the folder info, selecting the default folder icon and...
Read more >Custom Icon not showing - Home Assistant Community
Also you can't set an icon to a png image, you can only use the built in Material Design icons (or other icons...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tommycarpi The prop name is renderLeadingIcon. And yes, you can render any valid React component there
Ouch, missed that! Thank you for the great work!