Press n or j to go to the next uncovered block, b, p or k for the previous block.
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 32 | 1x 1x 1x 1x | /** * Copyright (c) Siemens 2016 - 2025 * SPDX-License-Identifier: MIT */ import { ChangeDetectionStrategy, Component, input } from '@angular/core'; import { SiIconComponent } from '@siemens/element-ng/icon'; import { SiTranslatePipe, TranslatableString } from '@siemens/element-translate-ng/translate'; @Component({ selector: 'si-empty-state', imports: [SiIconComponent, SiTranslatePipe], templateUrl: './si-empty-state.component.html', styleUrl: './si-empty-state.component.scss', changeDetection: ChangeDetectionStrategy.OnPush }) export class SiEmptyStateComponent { /** * CSS class name of the desired icon. */ readonly icon = input.required<string>(); /** * Heading of empty state content. */ readonly heading = input.required<TranslatableString>(); /** * Description of empty state content. */ readonly content = input<TranslatableString>(); } |