SolidJSS
SolidJSโ€ข3y agoโ€ข
4 replies
eponymous

Using solid-element, how do you get the children of a web component?

I'm trying to get the children of a custom component created with solid-element. In plain SolidJS I would simply use props.children, but this is undefined on the solid-element component. Is there a particular way to get this done using solid element?
Was this page helpful?