Function createActionDesc

  • utility for creating an action description with optional label

    Parameters

    • label: string = 'actions'
    • actions: Readonly<IAction>[] = []
    • groupActions: Readonly<IGroupAction>[] = []

    Returns {
        actions: Readonly<IAction>[];
        fixed: boolean;
        groupActions: Readonly<IGroupAction>[];
        label: string;
        type: string;
    }