/**
 * @license MIT
 * author: Cube Dev Team
 * @cube-dev/ui-kit v0.0.0-canary-b46ab85
 * Released under the MIT license.
 */

import { jsx as _jsx } from "react/jsx-runtime";
import { memo } from 'react';
import { CloseIcon } from '../../../../icons/index.js';
import { tasty } from '../../../../tasty/index.js';
import { Button } from '../../../actions/index.js';
const CloseButton = tasty(Button, {
    icon: _jsx(CloseIcon, {}),
    label: 'Close the notification',
    qa: 'NotificationCloseButton',
    type: 'neutral',
    styles: { gridArea: 'close', display: 'flex' },
});
export const NotificationCloseButton = memo(function NotificationCloseButton(props) {
    const { onPress } = props;
    return _jsx(CloseButton, { onPress: onPress });
});

        