ntime.mjs:4 TypeError: children is not a function
at DropdownMenu (DropdownMenu.js:101:1)
at renderWithHooks (react-dom.development.js:16305:1)
at mountIndeterminateComponent (react-dom.development.js:20074:1)
at beginWork (react-dom.development.js:21587:1)
at beginWork$1 (react-dom.development.js:27426:1)
at performUnitOfWork (react-dom.development.js:26557:1)
at workLoopSync (react-dom.development.js:26466:1)
at renderRootSync (react-dom.development.js:26434:1)
at recoverFromConcurrentError (react-dom.development.js:25850:1)
at performConcurrentWorkOnRoot (react-dom.development.js:25750:1)
When I look at the standalone dropdown examples, they show a function for the child. What am I missing?
Describe the bug
I was trying to do a navbar with a dropdown menu as one of the items. I followed the example on the docs page, but I get an error:
When I look at the standalone dropdown examples, they show a function for the child. What am I missing?
Thanks!