// (C) 2021-2026 GoodData Corporation
/**
 * Command to set a widget to show as table.
 *
 * @param ref - reference to the widget
 * @param showAsTable - whether to show as table or not
 * @beta
 */
export function setShowWidgetAsTable(ref, showAsTable) {
    return {
        type: "GDC.DASH/CMD.SHOW_WIDGET_AS_TABLE.SET",
        payload: {
            ref,
            showAsTable,
        },
    };
}
