18 lines
639 B
TypeScript
18 lines
639 B
TypeScript
|
|
import { Maybe } from '@/core';
|
||
|
|
import { NgTemplateOutlet } from '@angular/common';
|
||
|
|
import { Component, ContentChild, Input, TemplateRef } from '@angular/core';
|
||
|
|
import { RouterLink, UrlTree } from '@angular/router';
|
||
|
|
import { Button } from 'primeng/button';
|
||
|
|
|
||
|
|
@Component({
|
||
|
|
selector: 'app-inner-pages-header',
|
||
|
|
templateUrl: './inner-pages-header.component.html',
|
||
|
|
imports: [Button, RouterLink, NgTemplateOutlet],
|
||
|
|
})
|
||
|
|
export class InnerPagesHeaderComponent {
|
||
|
|
@Input() pageTitle!: string;
|
||
|
|
@Input() backRoute?: UrlTree | string | any[];
|
||
|
|
@ContentChild('actions', { static: true }) actions?: Maybe<TemplateRef<any>>;
|
||
|
|
constructor() {}
|
||
|
|
}
|