import { Menu } from '@headlessui/react'; import { ChevronDownIcon } from '@heroicons/react/solid'; import classNames from 'classnames'; import type { ReactNode } from 'react'; import styles from './style.module.css'; interface Props { className?: string; animate?: boolean; children: ReactNode; } function DropdownButton({ className, animate = true, children }: Props) { return ( {typeof children === 'string' ? ( <> {children} ); } export { DropdownButton };