import { ModifyContentAction } from '../../../dto/actions/modify-content-action.abstract';
export const TOGGLE_HEADER_ROW = 'TOGGLE_HEADER_ROW';
/**
 * Action to convert selected rows to header rows or revert them back to normal rows.
 */
export class ToggleHeaderRowAction extends ModifyContentAction {
  constructor(selectedRows) {
    super();
    this.isFlushable = true;
    this.type = TOGGLE_HEADER_ROW;
    this.selectedRows = selectedRows;
  }
}
