repetere/jsonx

How to use getReactElement() when property's name in props contains "-"

CNFeffery opened this issue · 1 comments

such as 'data-dash-is-loading':
image

Hi @CNFeffery,

Apologies for taking so long to respond to this. You should be able to just use quotes around the property name, e.g. "data-is-loading"

I tested that out and it works, e.g.:
image
image
image