@synergy-design-system/react
Version:
React wrappers for the Synergy Design System
25 lines (24 loc) • 1.01 kB
TypeScript
import Component from '@synergy-design-system/components/components/tag/tag.component.js';
import { type EventName } from '@lit/react';
import type { SynRemoveEvent } from '@synergy-design-system/components';
/**
* @summary Tags are used as labels to organize things or to indicate a selection.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tag--docs
* @status stable
* @since 2.0
*
* @dependency syn-icon-button
*
* @slot - The tag's content.
*
* @event syn-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 `<syn-icon-button>`.
* @csspart remove-button__base - The remove button's exported `base` part.
*/
export declare const SynTag: import("@lit/react").ReactWebComponent<Component, {
onSynRemove: EventName<SynRemoveEvent>;
}>;
export type { SynRemoveEvent } from '@synergy-design-system/components';