Answers for "`ForwardRef(ListboxComponent)`, expected a ReactNode. at ListboxComponent"

0

`ForwardRef(ListboxComponent)`, expected a ReactNode. at ListboxComponent

change:

ListboxComponent.propTypes = {
  children: PropTypes.node,
}

to:

ListboxComponent.propTypes = {
  children: PropTypes.array,
}
Posted by: Guest on September-29-2021

Code answers related to "`ForwardRef(ListboxComponent)`, expected a ReactNode. at ListboxComponent"

Code answers related to "Javascript"

Browse Popular Code Answers by Language