How to have kind of 'named slot' in Solid like Vue?
I know there is 'props.children'
But I want to place each children to different location inside component.
What should I have to do?
3 Replies
Ok, I should add props. what's the type of slot in TS? 'JSXElement' ?
yes, JSX.Element to be specific