@shoelace-style/shoelace
Version:
A forward-thinking library of web components.
26 lines (25 loc) • 945 B
TypeScript
import Component from '../../components/tag/tag.component.js';
import { type EventName } from '@lit/react';
import type { SlRemoveEvent } from '../../events/events.js';
export type { SlRemoveEvent } from '../../events/events.js';
/**
* @summary Tags are used as labels to organize things or to indicate a selection.
* @documentation https://shoelace.style/components/tag
* @status stable
* @since 2.0
*
* @dependency sl-icon-button
*
* @slot - The tag's content.
*
* @event sl-remove - Emitted when the remove button is activated.
*
* @csspart base - The component's base wrapper.
* @csspart content - The tag's content.
* @csspart remove-button - The tag's remove button, an `<sl-icon-button>`.
* @csspart remove-button__base - The remove button's exported `base` part.
*/
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
onSlRemove: EventName<SlRemoveEvent>;
}>;
export default reactWrapper;