'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React from 'react';
import { XIcon } from '../../../icons/X/index.js';
import { useTranslation } from '../../../providers/Translation/index.js';
import './index.scss';
const baseClass = 'drawer-close-button';
export function DrawerCloseButton({ onClick }) {
    const { t } = useTranslation();
    return /*#__PURE__*/ _jsxDEV("button", {
        "aria-label": t('general:close'),
        className: baseClass,
        onClick: onClick,
        type: "button",
        children: /*#__PURE__*/ _jsxDEV(XIcon, {}, void 0, false, {
            fileName: "src/elements/BulkUpload/DrawerCloseButton/index.tsx",
            lineNumber: 18,
            columnNumber: 7
        }, this)
    }, void 0, false, {
        fileName: "src/elements/BulkUpload/DrawerCloseButton/index.tsx",
        lineNumber: 17,
        columnNumber: 5
    }, this);
}

//# sourceMappingURL=index.js.map