import { useState } from 'react' import { Box } from '../elements/LayoutPrimitives' import { Button } from '../elements/Button' import { theme } from '../tokens/stitches.config' import { BookOpen, Copy } from '@phosphor-icons/react' import { UserBasicData } from '../../lib/networking/queries/useGetViewerQuery' import { Highlight } from '../../lib/networking/fragments/highlightFragment' import { showErrorToast, showSuccessToast } from '../../lib/toastHelpers' import { TrashIcon } from '../elements/icons/TrashIcon' import { LabelIcon } from '../elements/icons/LabelIcon' type HighlightHoverActionsProps = { viewer: UserBasicData highlight: Highlight isHovered: boolean viewInReader: (highlightId: string) => void setLabelsTarget: (target: Highlight) => void setShowConfirmDeleteHighlightId: (set: string) => void } export const HighlightHoverActions = (props: HighlightHoverActionsProps) => { const [menuOpen, setMenuOpen] = useState(false) return ( ) }