Add Popup Component
This commit is contained in:
1 parent
688fea9033
commit
213a1d5fc0
7 files changed
+58
No files matched your search
@@ -0,0 +1,13 @@
|
||||
<header class="popup-header">
|
||||
<div class="header-left">
|
||||
<ng-content select="[header-left]"></ng-content>
|
||||
</div>
|
||||
|
||||
<div class="header-right">
|
||||
<button class="material-symbols-outlined icon-24 chevron" (click)="onClose()">close</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="popup-body">
|
||||
<ng-content></ng-content>
|
||||
</div>
|
||||
Whitespace-only changes.
@@ -0,0 +1,16 @@
|
||||
import { Component, input, model, output } from '@angular/core';
|
||||
import { Dropdown } from '../../components/dropdown/dropdown';
|
||||
import { Switch } from '../../components/switch/switch';
|
||||
|
||||
@Component({
|
||||
selector: 'popup',
|
||||
templateUrl: './popup.html',
|
||||
styleUrl: './popup.scss',
|
||||
})
|
||||
export class PopupComponent {
|
||||
close = output<void>();
|
||||
|
||||
onClose() {
|
||||
this.close.emit()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user