import classNames from 'classnames'; import styles from '@/components/elements/dropdown/style.module.css'; import { ChevronDownIcon } from '@heroicons/react/solid'; import { Menu } from '@headlessui/react'; import * as React from 'react'; interface Props { className?: string; animate?: boolean; children: React.ReactNode; } export default ({ className, animate = true, children }: Props) => ( {typeof children === 'string' ? ( <> {children} ) : ( children )} );