import {Component, Input} from "@angular/core"; export interface Breadcrumb { name: string; route?: string; keepFormat?: boolean } @Component({ selector: 'breadcrumbs', template: `
` }) export class BreadcrumbsComponent { @Input() public light: boolean = false; @Input() public breadcrumbs: Breadcrumb[] = []; @Input() public addClass = ""; }