primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
28 lines (27 loc) • 644 B
TypeScript
import { TemplateRef } from '@angular/core';
/**
* Defines valid templates in Chip.
* @group Templates
*/
export interface ChipTemplates {
/**
* Custom template of content.
*/
content(): TemplateRef<any>;
/**
* Custom template of remove icon.
*/
removeicon(): TemplateRef<any>;
}
export interface ChipProps {
label?: string;
icon?: string | undefined;
image?: string | undefined;
alt?: string | undefined;
style?: {
[klass: string]: any;
} | null | undefined;
styleClass?: string | undefined;
removable?: boolean | undefined;
removeIcon?: string | undefined;
}