import React, { ReactElement } from 'react'; import { Box, IconButton, IconButtonProps } from '@wix/design-system'; import { More } from '@wix/wix-ui-icons-common'; import { DisabledTooltip } from '../DisabledTooltip'; export interface DisabledActionCellMenuProps { dataHook?: string; tooltipContent?: React.ReactNode; size?: IconButtonProps['size']; skin?: IconButtonProps['skin']; icon?: ReactElement; ariaLabel?: string; } export function DisabledActionCellMenu({ dataHook, tooltipContent, size = 'medium', skin = 'standard', icon = , ariaLabel, }: DisabledActionCellMenuProps) { const buttonAriaLabel = typeof tooltipContent === 'string' ? tooltipContent : ariaLabel; const button = ( {icon} ); return ( {tooltipContent ? ( {button} ) : ( button )} ); }