I\'m trying to use a component that renders the child conditionally; however, it seems like return children is invalid in React? At least according to Typescrip
return children