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/react/tab/index.d.ts
2024-09-05 00:39:25 -04:00

24 lines
959 B
TypeScript
Executable file

import Component from '../../components/tab/tab.component.js';
import { type EventName } from '@lit/react';
import type { SlCloseEvent } from '../../events/events.js';
export type { SlCloseEvent } from '../../events/events.js';
/**
* @summary Tabs are used inside [tab groups](/components/tab-group) to represent and activate [tab panels](/components/tab-panel).
* @documentation https://shoelace.style/components/tab
* @status stable
* @since 2.0
*
* @dependency sl-icon-button
*
* @slot - The tab's label.
*
* @event sl-close - Emitted when the tab is closable and the close button is activated.
*
* @csspart base - The component's base wrapper.
* @csspart close-button - The close button, an `<sl-icon-button>`.
* @csspart close-button__base - The close button's exported `base` part.
*/
declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
onSlClose: EventName<SlCloseEvent>;
}>;
export default reactWrapper;