Allow Dynamic Import of Icon
Hello, would love to have the capability to dynamically import individual icons from the react-icons package. Due to the output structure, this is not possible today.
can you provide more context please ? it is possible to dynamically import individual icons via import(), there are though known issues with webpack chunking if you hit 2 icons from different chunks.
I assume this will get you what you want ? https://github.com/microsoft/fluentui-system-icons/pull/888
This issue is 2 years old and can't really remember what it was needed for anymore. If i recall correctly, the package at the time would not be able to use dynamic import. Perhaps that is no longer an issue.