swordev / suid

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

Support for passing in ref? #221

Closed koolkao closed 1 year ago

koolkao commented 1 year ago

I love SolidJS + SUID. One thing that would be helpful is if the SUID components support passing in ref, e.g.

<Button ref={ref}>

juanrgm commented 1 year ago

ref property is supported, what is the problem?

https://stackblitz.com/edit/cndexx?file=src%2FApp.tsx

koolkao commented 1 year ago

Sorry I was new to SolidJS and misunderstood the use of ref. I've since built a whole SPA on SolidJS and SUID. I really appreciate your work on SUID, thank you! Will more Material UI components like Tabs and Accordion be added?