import * as React from 'react'; import { MenuIcon, XIcon } from '@heroicons/react/outline'; interface IFloatingButtonProps { children: React.ReactNode[] | React.ReactNode className: string } function ToggleState(isHidden: boolean, setHidden: React.Dispatch>): void { setHidden(!isHidden); } export function FloatingButton(props: IFloatingButtonProps): JSX.Element { const [isHidden, setHidden] = React.useState(true); const buttonListClasses = isHidden ? 'invisible opacity-0' : 'visible opacity-100'; const icon = isHidden ? : ; return (
{props.children}
); }