-
Notifications
You must be signed in to change notification settings - Fork 37
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
Task/prefer svgicon in sharing #162
Conversation
@edoardo Can you add the new icons to the svgicon example? Also, I know you didn't add the PermissionOption component, but it has no tests and we should try to have some coverage for every component in d2-ui. Could you add tests for it? |
@edoardo Regarding prettier, it is not set up in this repo. If you are running prettier in your workspace, it looks like you might need to add a few configurations, like Arrow Function Parentheses, and line width. Here is a link to the options: https://prettier.io/docs/en/options.html |
@jenniferarnesen Examples and tests added. |
This commit includes: * Replace FontIcon with SvgIcon in sharing component, we are moving away from FontIcon * Added tests for PermissionOption component * Some Prettier formatting changes
This commit includes: * Replace FontIcon with SvgIcon in sharing component, we are moving away from FontIcon * Added tests for PermissionOption component * Some Prettier formatting changes
I'm using the SharingDialog component in the new FavoritesDialog component (WIP) and got broken UI due to missing material icons font in my test app.
With nico we decided to use SvgIcon instead.
Replace FontIcon with SvgIcon in the Sharing component.
Added the missing SVG imports in the SvgIcon component.
Sorry for the huge diff, do we have special settings for prettier? I thought we run pretty much with the defaults, but I might have to tweak the settings in my editor.