import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { StyledMobileButton, StyledSecondaryActions } from './styles';
export const SecondaryActions = ({ actions, isDisabled, size = 'medium', }) => {
    return (_jsxs(_Fragment, { children: [_jsx(StyledSecondaryActions, { actions: actions, isDisabled: isDisabled, size: size }), actions.map(({ onClick, text, disabled }) => {
                return (_jsx(StyledMobileButton, { onClick: onClick, disabled: disabled, variant: "outlined", size: size, color: "grey", children: text }, text));
            })] }));
};
