From 0384c7fbe94164219e21385bf3850c622f3009f1 Mon Sep 17 00:00:00 2001 From: rektdeckard Date: Tue, 31 Oct 2023 11:38:09 -0600 Subject: [PATCH] chore(example): add SSR example --- example/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/example/App.tsx b/example/App.tsx index 2192558d8..f60b19e7a 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -5,6 +5,7 @@ import { IconContext } from "../dist"; import type { IconWeight, Icon } from "../dist"; import { icons } from "../core/src/icons"; import { CustomIcon } from "./CustomIcon"; +import { At } from "../dist/ssr"; import "./index.css"; const pascalNames = new Set(icons.map((entry) => entry.pascal_name)); @@ -71,6 +72,11 @@ const App = () => {
+
+ + + +