1
0
Fork 0
freesewing/packages/react-components/src/editor/swizzle/components/html-span.mjs
Joost De Cock adefbe7d18
feat: New pattern editor (#7080)
This is not exactly finished or ready for prime-time, but I do feel that leaving it in a feature branch longer will only cause the spread between the `develop` branch and this to grow.

Given that I've taken care to not break the current site, I plan to merge this and then keep polishing things.

Some views are not implemented yet, and overall there's a need to polish to limit the amount of re-renders and improve performance.
2024-09-15 15:29:30 +02:00

1 line
90 B
JavaScript

export const HtmlSpan = ({ html }) => <span dangerouslySetInnerHTML={{ __html: html }} />