Skip to content

Commit

Permalink
Fix strict template error
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-drastrup committed Feb 23, 2023
1 parent ecadcb3 commit 246fb02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libs/designsystem/alert-experimental/src/alert.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { IconModule } from '@kirbydesign/designsystem/icon';
import { ThemeColorDirective } from '@kirbydesign/designsystem/shared';
import { EmptyStateModule } from '@kirbydesign/designsystem/empty-state';
import { ButtonComponent } from '@kirbydesign/designsystem/button';
import { ThemeColor } from '@kirbydesign/designsystem/helpers';

@Component({
standalone: true,
Expand Down Expand Up @@ -49,7 +50,7 @@ export class AlertExperimentalComponent implements AfterViewInit {
}

@Input() iconName: string;
@Input() iconThemeColor: string;
@Input() iconThemeColor: ThemeColor | `${ThemeColor}`;
@Input() okButton: string;
@Input() okButtonIsDestructive: boolean;
@Input() cancelButton: string;
Expand Down

0 comments on commit 246fb02

Please sign in to comment.