mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
26 lines
850 B
TypeScript
26 lines
850 B
TypeScript
import { Component } from '@angular/core';
|
|
import { CreateProfileComponent } from './create-profile.component';
|
|
import { ThemedComponent } from '../../shared/theme-support/themed.component';
|
|
|
|
/**
|
|
* Themed wrapper for CreateProfileComponent
|
|
*/
|
|
@Component({
|
|
selector: 'ds-themed-create-profile',
|
|
styleUrls: [],
|
|
templateUrl: './../../shared/theme-support/themed.component.html'
|
|
})
|
|
export class ThemedCreateProfileComponent extends ThemedComponent<CreateProfileComponent> {
|
|
protected getComponentName(): string {
|
|
return 'CreateProfileComponent';
|
|
}
|
|
|
|
protected importThemedComponent(themeName: string): Promise<any> {
|
|
return import(`../../themes/${themeName}/app/register-page/create-profile/create-profile.component`);
|
|
}
|
|
|
|
protected importUnthemedComponent(): Promise<any> {
|
|
return import(`./create-profile.component`);
|
|
}
|
|
}
|