@webilix/ngx-helper-m3
Version:
Helper library for Angular and Material 3
26 lines (25 loc) • 846 B
TypeScript
import { InjectionToken } from '@angular/core';
import { ComponentType } from '@angular/cdk/portal';
interface IPage {
readonly title: string;
readonly icon: string;
readonly component: ComponentType<any>;
}
export interface INgxHelperPageGroup {
readonly route?: string[];
readonly header?: ComponentType<any>;
readonly pages: {
[key: string]: IPage;
};
readonly sidebarWidth?: string;
}
export interface INgxHelperPageGroupItem {
readonly index: number;
readonly id: string;
readonly title: string;
readonly icon: string;
}
export declare const NGX_HELPER_PAGE_GROUP_ITEM: InjectionToken<INgxHelperPageGroupItem>;
export declare const NGX_HELPER_PAGE_GROUP_DATA: InjectionToken<any>;
export declare const NGX_HELPER_PAGE_GROUP_DATA_CHANGE: InjectionToken<(data: any) => void>;
export {};