UNPKG

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

46 lines (45 loc) 1.21 kB
import { BaseStyle } from 'primeng/base'; import * as i0 from "@angular/core"; export declare class BadgeStyle extends BaseStyle { name: string; theme: ({ dt }: { dt: any; }) => string; classes: { root: ({ props, instance }: { props: any; instance: any; }) => (string | { 'p-badge-circle': boolean; 'p-badge-dot': boolean; 'p-badge-sm': boolean; 'p-badge-lg': boolean; 'p-badge-xl': boolean; 'p-badge-info': boolean; 'p-badge-success': boolean; 'p-badge-warn': boolean; 'p-badge-danger': boolean; 'p-badge-secondary': boolean; 'p-badge-contrast': boolean; })[]; }; static ɵfac: i0.ɵɵFactoryDeclaration<BadgeStyle, never>; static ɵprov: i0.ɵɵInjectableDeclaration<BadgeStyle>; } /** * * Badge represents people using icons, labels and images. * * [Live Demo](https://www.primeng.org/badge) * * @module badgestyle * */ export declare enum BadgeClasses { /** * Class name of the root element */ root = "p-badge" } export interface BadgeStyle extends BaseStyle { }