fluentui
fluentui copied to clipboard
Expose getFileTypeIconAsURL helper for react-file-type-icons
Previous Behavior
File Type Icons can't be used with Fluent 9 unless you import Fluent 8 <Icon />
or use React to dangerously set inner HTML.
New Behavior
Expose a new helper method so Fluent 9 code can use <img src={getFileTypeIconAsURL()} />
.
Related Issue(s)
- Fixes #
cc: @behowell for visibility
Asset size changes
⚠️ Insufficient baseline data to detect size changes
Unable to find bundle size details for Baseline commit: ab901891c51f8bd5d1a5099e66011c9c84372566
Possible causes
- The baseline build ab901891c51f8bd5d1a5099e66011c9c84372566 is broken
- The Size Auditor run for the baseline build ab901891c51f8bd5d1a5099e66011c9c84372566 was not triggered
Recommendations
- Please merge your branch for this Pull request with the latest master build and commit your changes once again
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit acf0be697c588923e8092efd97288dc5f755df7a:
Sandbox | Source |
---|---|
@fluentui/react 8 starter | Configuration |
@fluentui/react-components 9 starter | Configuration |
@micahgodbolt is this something to help with while Ben is oof? cc: @grace-zou
/azp run
Azure Pipelines successfully started running 4 pipeline(s).
I have approved and merged this PR: #27336. Can you pull from master and update this PR?