/* This example requires Tailwind CSS v2.0+ */ import { Fragment, ReactNode } from "react"; import { Popover, Transition } from "@headlessui/react"; import ChevronDownIcon from "../icons/ChevronDownIcon"; import { Button } from "../button"; interface Props { title: string; className?: string; disabled?: boolean; children: ReactNode; } export default function ButtonFlyout({ title, className, disabled, children }: Props) { return ( {() => ( <> {title}
{children}
)}
); }