captaindaylight.
Passing For Id between InputGroup and Input using children
I'm trying to pass create a JSX structure like:
My InputGroup component looks like:
This is
if (child?.props) {
is giving me the type error:
Does anyone have ideas how to achieve what I'm trying to do with the children helper? Or is there a better approach?6 replies