import { MtnaCustomIcon } from './custom-icon.model'; /** * Configuration for {@link MtnaCustomIconRegistryModule}. Declare what * font set class and any custom svg icons. * * @example * ``` * // Basic usage * NgModule({ * imports: [ * ... * MtnaCustomIconRegistryModule.forRoot(new MtnaCustomIconCongfig()), * ], * bootstrap: [AppComponent], * }) * export class AppModule { } * ``` * * @example * ``` * // With a custom icon * NgModule({ * imports: [ * ... * MtnaCustomIconRegistryModule.forRoot( * new MtnaCustomIconCongfig( * 'material-icons-outlined', * [new MtnaCustomIcon('mtna', 'assets/icons/mtna/icon.svg')] * ) * ), * ], * bootstrap: [AppComponent], * }) * export class AppModule { } * ``` * * @author Will Davis */ export declare class MtnaCustomIconCongfig { fontSetClass: string; icons: ReadonlyArray; /** * @param fontSetClass The font-set css class to use for mat-icon, defaults to `'material-icons-outlined'` * @param icons An array of custom svg icons */ constructor(fontSetClass?: string, icons?: ReadonlyArray); }