Closed
Description
How could I allow custom validators that cannot be expressed with static types?
For example certain components might map+clone their children in which case React.Fragment
blocks this composition. I would like to validate that none of the children is a React.Fragment
which is currently impossible to express with TypeScript and needs a custom propTypes validator.
Metadata
Metadata
Assignees
Labels
No labels