-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
feat(docs): Add Icon viewer page #12645
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 1ed7214e0bc984ccee034e3e30a0975ed0371ebc (build) |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
@@ -165,6 +165,15 @@ class Sidebar extends React.Component<any, any> { | |||
to: '/shorthand-props', | |||
}, | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we have the viewer we may even hide from public the example with all icons, and add link on the SvgIcon's docs page for the icons viewer... I am open for other ideas/suggestions here
/> | ||
<Flex wrap gap="gap.medium" styles={iconFlexStyles}> | ||
{filteredIcons.map(Icon => ( | ||
<Flex.Item align="center" key={Icon.displayName}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we extract this to a component?
Co-Authored-By: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
Co-Authored-By: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
* wip * -fixed on the navigation buttons * -added more info * -fixed ts issue * Update packages/fluentui/docs/src/views/IconViewer.tsx Co-Authored-By: Oleksandr Fediashov <alexander.mcgarret@gmail.com> * Update packages/fluentui/docs/src/views/IconViewer.tsx Co-Authored-By: Oleksandr Fediashov <alexander.mcgarret@gmail.com> * -changed state to reducer * -added ComponentPlaygroundSnippet & fixed styles * -updated changelog Co-authored-by: Oleksandr Fediashov <alexander.mcgarret@gmail.com>
Pull request checklist
$ yarn change
Description of changes
(give an overview)
Focus areas to test
(optional)
Microsoft Reviewers: Open in CodeFlow