SSolidJS•Created by gerard on 8/1/2024 in #support Pass props from Component to props.children
Since the component Child
is already called when you do <Child />
you cannot pass any props
to it.
You could instead pass a function
and then props.children
would be that function that you can call and pass the props
.