Open gadingnst opened 12 months ago
we have used these icons in our Design System.
but. when we use NextJS 13 with App Router, we can't import the icon directly in RSC like:
import { DismissSquareRegular } from `@fluentui/react-icons`; function ListingWalletHeader() { return ( <div className="flex items-center"> ... <DismissSquareRegular /> </div> ); }
it will return an error like this:
can we develop the icons to support RSC feature? maybe we just create the icon SVG without createContext? maybe just like this
createContext
we have used these icons in our Design System.
but. when we use NextJS 13 with App Router, we can't import the icon directly in RSC like:
it will return an error like this:![Screenshot 2023-07-13 at 06 03 57](https://github.com/microsoft/fluentui-system-icons/assets/38345393/4d6b9488-5ce5-4d38-b039-21355191b808)
can we develop the icons to support RSC feature? maybe we just create the icon SVG without
createContext
? maybe just like this