1 import { c } from 'ttag';
3 import { Button } from '@proton/atoms';
4 import { Icon, Tooltip } from '@proton/components';
10 const PopoverCloseButton = ({ onClose }: Props) => {
12 <Tooltip title={c('Event popover close button').t`Close popover`}>
13 <Button icon shape="ghost" size="small" className="color-weak" onClick={onClose}>
14 <Icon name="cross-big" alt={c('Action').t`Close event popover`} />
20 export default PopoverCloseButton;