Skip to content

Commit

Permalink
feat(layout): add tuiSlot action to be able to template any element…
Browse files Browse the repository at this point in the history
… into the action container of BlockStatus (#6191)
  • Loading branch information
Nols1000 authored Dec 12, 2023
1 parent 4c4af2c commit a9a5cc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import {Directive, Input} from '@angular/core';
})
export class TuiBlockStatusDirective {
@Input()
tuiSlot: string | 'top' = 'top';
tuiSlot: string | 'action' | 'top' = 'top';
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
</div>

<div class="t-block-actions">
<ng-content select="a,button"></ng-content>
<ng-content select="a,button,[tuiSlot='action']"></ng-content>
</div>

0 comments on commit a9a5cc8

Please sign in to comment.