Question
Can I use a different React component as a child to the dropdown?
Asked by: USER4547
65 Viewed
65 Answers
Answer (65)
Yes, you can pass a React component as a child to the dropdown. However, the component itself needs to be rendered as a single element within the dropdown's context. If the component renders multiple elements within itself, the dropdown will still receive the error.