import { Fragment } from 'react' import { Menu, Transition } from '@headlessui/react' import { ChevronDownIcon } from '@heroicons/react/20/solid' function classNames(...classes) { return classes.filter(Boolean).join(' ') } export default function Example() { return (
Options
{({ active }) => ( Edit )} {({ active }) => ( Duplicate )}
{({ active }) => ( Archive )} {({ active }) => ( Move )}
{({ active }) => ( Share )} {({ active }) => ( Add to favorites )}
{({ active }) => ( Delete )}
) }