Commits

Alexandre Vryghem authored 72dbb0fdefc
Themed FeedbackFormComponent
No tags

src/app/info/feedback/feedback-form/themed-feedback-form.component.ts

Added
1 +import { Component } from '@angular/core';
2 +import { ThemedComponent } from '../../../shared/theme-support/themed.component';
3 +import { FeedbackFormComponent } from './feedback-form.component';
4 +
5 +/**
6 + * Themed wrapper for {@link FeedbackFormComponent}
7 + */
8 +@Component({
9 + selector: 'ds-themed-feedback-form',
10 + styleUrls: [],
11 + templateUrl: '../../../shared/theme-support/themed.component.html',
12 +})
13 +export class ThemedFeedbackFormComponent extends ThemedComponent<FeedbackFormComponent> {
14 +
15 + protected getComponentName(): string {
16 + return 'FeedbackFormComponent';
17 + }
18 +
19 + protected importThemedComponent(themeName: string): Promise<any> {
20 + return import(`../../../../themes/${themeName}/app/info/feedback/feedback-form/feedback-form.component`);
21 + }
22 +
23 + protected importUnthemedComponent(): Promise<any> {
24 + return import('./feedback-form.component');
25 + }
26 +
27 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut