Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How I can use my custom icons with custom color on both platforms? #117

Open
indapublic opened this issue May 10, 2024 · 0 comments
Open

Comments

@indapublic
Copy link

Hello. Thank you for great library first, very helpful for me. But I have some troubles with using my icons.
Could you please revise example with custom icons use?

Your documentations says: you should to use icon and iconColor. But your example using customIcon and customIconColor (which seems to be work for iOS only, but not working anyway for me)

{
  title: 'Custom Icon and Color',
  customIcon: Platform.OS === 'ios' ? 'bluetooth' : '',
  customIconColor: Platform.OS === 'ios' ? processColor('green') : '',
},

Simulator Screenshot - iPhone 15 Pro - 2024-05-10 at 10 30 48

Screenshot_1715301380

I tried to use icon with assets, it works with iOS asset (but don't respect color of svg, my svg is red, but menu shows it as black anyway, and iconColor can't help here) and not working for Android drawables.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant