Solid Element how to render children
I'm using solid element and I need to throw children into solid based web components but none of the options worked can you tell me how to implement this correctly?
customElement("x-component", {}, (props, { element }) => {
return (
<button>
{props.children} /* This? */
<slot></slot> /* Or this? */
</button>
);
})