File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ const IconsPage = () => {
4848 }
4949 >
5050 < Alert variant = "info" margin = "0 0 medium" >
51- New incon set, currently in beta. Currently supported icons:{ ' ' }
51+ New icon set, currently in beta. Currently supported icons:{ ' ' }
5252 < Link href = "/legacy-icons" > Icons</ Link >
5353 </ Alert >
5454 < Alert variant = "info" margin = "0 0 medium" >
Original file line number Diff line number Diff line change @@ -247,6 +247,15 @@ const LegacyIconsPage = ({ iconData }: LegacyIconsPageProps) => {
247247 New icon set is available, please only use it with InstUI v11.7 or newer
248248 components: < Link href = "/icons" > Icons (beta)</ Link >
249249 </ Alert >
250+ < Alert variant = "info" margin = "0 0 medium" >
251+ Our legacy icon components are rendered through Emotion, so server-side
252+ rendering inlines < code > <style data-emotion=…></ code > blocks
253+ alongside each < code > <svg></ code > , which can break consumers that
254+ expect a plain SVG string. Follow{ ' ' }
255+ < Link href = "https://emotion.sh/docs/ssr" > Emotion's SSR guide</ Link > { ' ' }
256+ to extract those styles, or strip them post-render. The new icon set
257+ linked above does not have this issue.
258+ </ Alert >
250259 < FormFieldGroup
251260 layout = "columns"
252261 colSpacing = "small"
You can’t perform that action at this time.
0 commit comments