'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import { Fragment } from 'react';
import { CopyIcon } from '../../icons/Copy/index.js';
import { EditIcon } from '../../icons/Edit/index.js';
import { useTranslation } from '../../providers/Translation/index.js';
export const ClipboardActionLabel = ({ isPaste, isRow })=>{
    const { t } = useTranslation();
    let label = t('general:copyField');
    if (!isRow && isPaste) {
        label = t('general:pasteField');
    } else if (isRow && !isPaste) {
        label = t('general:copyRow');
    } else if (isRow && isPaste) {
        label = t('general:pasteRow');
    }
    return /*#__PURE__*/ _jsxDEV(Fragment, {
        children: [
            isPaste ? /*#__PURE__*/ _jsxDEV(EditIcon, {}, void 0, false, {
                fileName: "src/elements/ClipboardAction/ClipboardActionLabel.tsx",
                lineNumber: 29,
                columnNumber: 18
            }, this) : /*#__PURE__*/ _jsxDEV(CopyIcon, {}, void 0, false, {
                fileName: "src/elements/ClipboardAction/ClipboardActionLabel.tsx",
                lineNumber: 29,
                columnNumber: 33
            }, this),
            " ",
            label
        ]
    }, void 0, true, {
        fileName: "src/elements/ClipboardAction/ClipboardActionLabel.tsx",
        lineNumber: 28,
        columnNumber: 5
    }, this);
};

//# sourceMappingURL=ClipboardActionLabel.js.map