Skip to content

Commit

Permalink
chore(demo): TuiBlockStatus with empty t-block-image (#9749)
Browse files Browse the repository at this point in the history
Co-authored-by: Железняк Федор <[email protected]>
  • Loading branch information
Zheleznyak-F and Железняк Федор authored Nov 13, 2024
1 parent c512e5a commit f853942
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<tui-block-status size="m">
<h4>Something happened in this block</h4>

<span>Try again later</span>

<button
appearance="secondary"
size="s"
tuiButton
type="button"
>
Retry
</button>
</tui-block-status>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {Component} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {encapsulation} from '@demo/emulate/encapsulation';
import {TuiButton} from '@taiga-ui/core';
import {TuiBlockStatus} from '@taiga-ui/layout';

@Component({
standalone: true,
imports: [TuiBlockStatus, TuiButton],
templateUrl: './index.html',
encapsulation,
changeDetection,
})
export default class Example {}
1 change: 1 addition & 0 deletions projects/demo/src/modules/components/block-status/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ export default class Example {
'Customization',
'Mobile',
'Desktop medium',
'Empty image block',
];
}

0 comments on commit f853942

Please sign in to comment.