-
Notifications
You must be signed in to change notification settings - Fork 201
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
Can icons props be optionnal? #229
Comments
Is this wrong? What should it be?
|
I don't know, really, just got started with ts. maybe something changed with rn-vector-icons?. I will take a look into that later. anyway, I'd appreciate if you could make the icons prop optional :) |
the real issue is with the icons prop, not the IconRenderer prop. icons is currently listed as a required prop, but it isn't required, since a default is available. |
To clarify the IconRenderer typescript error is also valid, just not what the original poster was opening the issue about. |
Trying to fix both issues listed here: renrizzolo#229
@renrizzolo , please check #253 |
Both issues should be ixed in v0.8.2, please re-open if it persists. |
9cc4df7#diff-7aa4473ede4abd9ec099e87fec67fd57afafaf39e05d493ab4533acc38547eb8L124 Looks like these changes were reverted in this commit. Not sure if it's intentional or not, but I'm running into the same issues previously mentioned in this thread. |
on line 122 in index.d.ts there is the icon props
icons: { search: { name: string size: number } ....
Is it possible to set icons as an optional variable? I don't need to change the default setting.
icons: {
toicons?: {
The text was updated successfully, but these errors were encountered: