SolidJSS
SolidJS6mo ago
13 replies
siduck

How to modify props of children?

In react i was using CloneElement, how to achieve this in solidjs?

{props.children[0]}

i want to add onclick method to this
Was this page helpful?