"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SecondaryActions = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const styles_1 = require("./styles");
const SecondaryActions = ({ actions, isDisabled, size = 'medium', }) => {
    return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(styles_1.StyledSecondaryActions, { actions: actions, isDisabled: isDisabled, size: size }), actions.map(({ onClick, text, disabled }) => {
                return ((0, jsx_runtime_1.jsx)(styles_1.StyledMobileButton, { onClick: onClick, disabled: disabled, variant: "outlined", size: size, color: "grey", children: text }, text));
            })] }));
};
exports.SecondaryActions = SecondaryActions;
