Closed thitemple closed 3 years ago
Hi this is adding a type for TChildren that allows components with children with render functions, without this, we have a TS error for the following:
function Component() { return ( <SomeOtherComponent> {(props) => (<div>{props.something}</div>)} </SomeOtherComponent> ) }
I have sent a PR for this already, it's just missing one line
Resolved in #106
Hi this is adding a type for TChildren that allows components with children with render functions, without this, we have a TS error for the following:
I have sent a PR for this already, it's just missing one line