@sixbell-telco/sdk
Version:
A collection of reusable components designed for use in Sixbell Telco Angular projects
19 lines (18 loc) • 782 B
TypeScript
import { TableContentSizeProps } from '@sixbell-telco/sdk/components/table';
import * as i0 from "@angular/core";
/**
* Context service to share data table configuration with sub-components
* This allows sub-components to automatically sync their sizes with the parent data table
*/
export declare class DataTableContextService {
/**
* Current table size that sub-components can subscribe to
*/
readonly size: import("@angular/core").WritableSignal<TableContentSizeProps>;
/**
* Update the table size - called by the main data table component
*/
setSize(size: TableContentSizeProps): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DataTableContextService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<DataTableContextService>;
}