Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/components/badge/badge.component.d.ts
2024-09-05 00:39:25 -04:00

22 lines
774 B
TypeScript
Executable file

import ShoelaceElement from '../../internal/shoelace-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Badges are used to draw attention and display statuses or counts.
* @documentation https://shoelace.style/components/badge
* @status stable
* @since 2.0
*
* @slot - The badge's content.
*
* @csspart base - The component's base wrapper.
*/
export default class SlBadge extends ShoelaceElement {
static styles: CSSResultGroup;
/** The badge's theme variant. */
variant: 'primary' | 'success' | 'neutral' | 'warning' | 'danger';
/** Draws a pill-style badge with rounded edges. */
pill: boolean;
/** Makes the badge pulsate to draw attention. */
pulse: boolean;
render(): import("lit-html").TemplateResult<1>;
}