import type { ICellRendererFactory , IGroupCellRenderer , ISummaryRenderer } from './interfaces' ; import { noop } from './utils' ; export default class LoadingCellRenderer implements ICellRendererFactory { readonly title : string = 'Loading' ; canRender ( ) { return false ; } create ( ) { return { template : `<div>Loading …</div>` , update : noop as ( ) => void , } ; } createGroup ( ) { return this . create ( ) ; } createSummary ( ) { return this . create ( ) ; } }