UNPKG

igniteui-webcomponents

Version:

Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.

42 lines (41 loc) 1.05 kB
import { LitElement } from 'lit'; import type { StyleVariant } from '../types.js'; /** * The badge is a component indicating a status on a related item or an area * where some active indication is required. * * @element igc-badge * * @slot - Default slot for the badge. * * @csspart base - The base wrapper of the badge. */ export default class IgcBadgeComponent extends LitElement { static readonly tagName = "igc-badge"; static styles: import("lit").CSSResult[]; static register(): void; private __internals; /** * The type of badge. * @attr */ variant: StyleVariant; /** * Sets whether to draw an outlined version of the badge. * @attr */ outlined: boolean; /** * The shape of the badge. * @attr */ shape: 'rounded' | 'square'; constructor(); protected variantChange(): void; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'igc-badge': IgcBadgeComponent; } }