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 10 months ago

ben-ryder commented 1 year 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 10 months ago

released in v0.17.0