-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(demo): TuiBlockStatus with empty t-block-image (#9749)
Co-authored-by: Железняк Федор <[email protected]>
- Loading branch information
1 parent
c512e5a
commit f853942
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/components/block-status/examples/7/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
14 changes: 14 additions & 0 deletions
14
projects/demo/src/modules/components/block-status/examples/7/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ export default class Example { | |
'Customization', | ||
'Mobile', | ||
'Desktop medium', | ||
'Empty image block', | ||
]; | ||
} |