-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathAvatarConfigGenerator.ts
More file actions
31 lines (25 loc) · 1.01 KB
/
AvatarConfigGenerator.ts
File metadata and controls
31 lines (25 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { IgxAvatarModule } from 'igniteui-angular';
import { AppModuleConfig, Config, IConfigGenerator } from 'igniteui-live-editing'
import { BaseAppConfig } from './BaseConfig';
export class AvatarConfigGenerator implements IConfigGenerator {
public generateConfigs(): Config[] {
const configs = new Array<Config>();
configs.push(new Config({
component: 'AvatarSample3Component',
appConfig: BaseAppConfig,
shortenComponentPathBy: "/layouts/avatar/"
}));
configs.push(new Config({
component: 'AvatarStylingSampleComponent',
additionalFiles: ["/src/app/layouts/avatar/avatar-styling/layout.scss"],
appConfig: BaseAppConfig,
shortenComponentPathBy: "/layouts/avatar/"
}));
configs.push(new Config({
component: 'AvatarCSSVariablesComponent',
appConfig: BaseAppConfig,
shortenComponentPathBy: "/layouts/avatar/"
}));
return configs;
}
}