Closed clintharris closed 3 months ago
Hey!
Thanks for the bug report, we've updated the Tailwind UI examples and we removed the deprecated components and use the new non-deprecated components instead!
If you want to apply the same changes locally, you can essentially drop the .
in Menu.Button
-> MenuButton
and make sure to update the imports.
Hope this helps!
What component (if applicable)
Describe the bug
Request doc example update.
The React code example shows use of
Menu.Button
,Menu.Items
, andMenu.Item
. These are deprecated in the current version of@headlessui/react
and should be replaced withMenuButton
,MenuItems
, andMenuItem
.