@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.
13 lines (12 loc) • 640 B
TypeScript
import { EventEmitter } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ButtonComponent {
type: 'primary' | 'secondary' | 'danger' | 'light' | 'dark';
size: 'small' | 'medium' | 'large';
label: string | undefined;
clickHandler: EventEmitter<Event>;
onClickHandler(event: Event): void;
get cssStyle(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "ui-button", never, { "type": "type"; "size": "size"; "label": "label"; }, { "clickHandler": "clickHandler"; }, never, never, false, never>;
}