@betokyo/ui-components
Version:
As part of a school project, the BeTokyo UI components library allows us to reuse components in each of our web apps.
20 lines (19 loc) • 755 B
TypeScript
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class NavbarComponent {
logoPath: string | undefined;
logoTitle: string | undefined;
items: NavbarItem[];
clickHandler: EventEmitter<NavbarEvent>;
onClickHandler(item: NavbarItem): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "ui-navbar", never, { "logoPath": "logoPath"; "logoTitle": "logoTitle"; "items": "items"; }, { "clickHandler": "clickHandler"; }, never, never, false, never>;
}
export interface NavbarItem {
icon: string;
label: string;
active: boolean | undefined;
}
export interface NavbarEvent {
item: NavbarItem;
}