Closed patodk closed 6 years ago
I currently need to validate certain child components. Is it possible to pass childrenOfType an array of the components I need to validate?
childrenOfType
childrenOfType(...components)?
childrenOfType(...components)
I was missing the spread. Thanks!
I currently need to validate certain child components. Is it possible to pass
childrenOfType
an array of the components I need to validate?