import React from 'react';
import MoreVertIcon from '@mui/icons-material/MoreVert';
import { DropDownMenuButton } from '../../../DropDownMenuButton';
import { SmallIconButton } from '../../../SmallIconButton';
export var TaskActions = function (_a) {
    var actions = _a.actions, disabled = _a.isInProgress;
    return actions.length > 0 ? (React.createElement(DropDownMenuButton, { buttonComponent: SmallIconButton, buttonProps: {
            icon: MoreVertIcon,
            size: 'L',
            disabled: disabled,
            'data-reltio-id': 'task-actions'
        }, menuId: 'workflow-actions', menuItems: actions })) : null;
};
