Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(layout): AppBarBack add ability to use custom appearance #9715

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {ChangeDetectionStrategy, Component, inject} from '@angular/core';
import {TuiIcon} from '@taiga-ui/core/components/icon';
import type {TuiAppearanceOptions} from '@taiga-ui/core/directives/appearance';
import {
TuiAppearance,
tuiAppearanceOptionsProvider,
TuiWithAppearance,
} from '@taiga-ui/core/directives/appearance';
import {TUI_SPIN_ICONS} from '@taiga-ui/core/tokens';

Expand All @@ -15,7 +15,7 @@ import {TUI_SPIN_ICONS} from '@taiga-ui/core/tokens';
styleUrls: ['./app-bar-back.style.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
providers: [tuiAppearanceOptionsProvider(TuiAppBarBack)],
hostDirectives: [TuiAppearance],
hostDirectives: [TuiWithAppearance],
})
export class TuiAppBarBack implements TuiAppearanceOptions {
protected readonly icons = inject(TUI_SPIN_ICONS);
Expand Down
Loading