swordev / suid

A port of Material-UI (MUI) built with SolidJS.
https://suid.io
MIT License
673 stars 48 forks source link

Component doesn't work for Paper #234

Open BierDav opened 1 year ago

BierDav commented 1 year ago

Assuming following code:

<Paper component={"form"}>Hello World</Paper>
<Typography variant={"h1"} component={"form"}>Hello World</Typography>

We expect to have two form elements with the properties of an Paper or Typography, but what really happens is that we only get a form for the Typography and not for the Paper: image