Skip to content

feat: add fallback component in case name is invalid #31

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

freeboub
Copy link

This PR allows to add a fallback property in case invalid icon name is provided.

In my case, icon name comes from server, I don't want the text to be displayed in case of invalid data.

I also fix the case where name is null (causes a crash)

@ajayesivan
Copy link
Owner

Hi @freeboub, thank you so much for the PR! I’ll take a look at it in the next day or two.

@freeboub
Copy link
Author

Reminder :)

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

Successfully merging this pull request may close these issues.

2 participants