import React from 'react'; import {Popup} from '@gravity-ui/uikit'; import {b} from '../QueryResultTable'; interface CellProps { className?: string; value: string; } export const Cell = React.memo(function Cell(props: CellProps) { const {className, value} = props; const [open, setOpen] = React.useState(false); const anchorRef = React.useRef(null); const handleToggle = React.useCallback(() => { setOpen((prevOpen) => !prevOpen); }, []); const handleClose = React.useCallback(() => { setOpen(false); }, []); return (
{value}
{value}
); });