Closed granicz closed 10 months ago
Just tested this with 7.0.0.321-beta2, using:
JS.Html $"""
<>
{QRCode {size=100; message="hello"}}
</>
"""
which ended up generating:
{QRCode(New(100, "hello"))}
instead of
{QRCode({size:100, message:'Hello'})}
Nevermind, that is actually correct as New
is imported from the type's ESM, constructing the desired record/object.
I have a type as follows:
and using it as
yields in the output:
... which seems bogus. It should be: