ben-ryder / jigsaw

A design system and component library for use in my personal projects.
https://jigsaw.benryder.dev
GNU General Public License v3.0
0 stars 0 forks source link

JProse component should allow dangerouslySetInnerHTML directly and not require a children value #58

Closed ben-ryder closed 9 months ago

ben-ryder commented 11 months ago

Describe the feature JProse component should allow dangerouslySetInnerHTML directly and not require a children value. If you want to pass HTML via props from somehting else, you need to do the following right now which is not ideal:

<JProse>
  <div dangerouslySetInnerHTML={{__html: props.description}} />
</JProse>
ben-ryder commented 9 months ago

released in v0.17.0