-
Notifications
You must be signed in to change notification settings - Fork 379
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
Icon picker with localisation and documentation #485
Conversation
Thank you @Konradox for the component! The only thing I'm concerned - predefined list of icons' names. It will be hard to maintain if we change used office ui fabric version... Maybe we could explicitly reference @estruyf - what are your thoughts? |
You are right @AJIXuMuK. But it's not possible because this enum is a const enum: This means that is not iterable. It's also marked as deprecated. |
Maybe we need to find another way to get all the icon names. @juliemturner what was your approach to get all the available icon names? |
In the newer version of @uifabric/icon there is a new folder called data and there is a file AllIconNames.json which contains all that we need. Maybe we could consider upgrading this package? From @uifabric/icon github changelog: Minor changes |
Hi @Konradox, We can try to use v7.1.0 of @uifabric/icon and test if it works with current referenced version of OUIFR. |
hey, this may help microsoft/fluentui#11399 i upgraded the react-securitygrid sample webpart to show user selected icons based on a persons. permission level and needed the same thing. |
thanks @Konradox - merged this to our DEV branch |
What's in this Pull Request?
This pull request adds new control - IconPicker. This control allows to pick an icon from office-ui-fabric-react icon set.