Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Nov 24, 2023
1 parent bb88fcb commit 1e50633
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
<button
size="s"
tuiButtonClose
tuiIconButton
></button>
>
Close
</button>

<button
appearance="glass"
size="s"
tuiButtonClose
tuiIconButton
></button>
>
Close
</button>

<button
size="xs"
tuiButtonClose
tuiIconButton
></button>
>
Close
</button>

<button
appearance="glass"
size="xs"
tuiButtonClose
tuiIconButton
></button>
>
Close
</button>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,7 @@
<button
tuiIconButton
tuiButtonClose
></button>
>
Close
</button>
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';

import {TUI_BUTTON_CLOSE_ICON} from './button-close.options';

// TODO: 4.0 revisit after turning tuiIcon to host directive
@Directive({
selector: '[tuiIconButton][tuiButtonClose]',
providers: [tuiButtonOptionsProvider({appearance: 'neutral', size: 's'})],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';

import {TuiButtonCloseDirective} from './button-close.directive';

@NgModule({
imports: [CommonModule],
declarations: [TuiButtonCloseDirective],
exports: [TuiButtonCloseDirective],
})
Expand Down

0 comments on commit 1e50633

Please sign in to comment.