@synergy-design-system/components
Version:
27 lines (26 loc) • 890 B
TypeScript
import SynergyElement from '../../internal/synergy-element.js';
import type { CSSResultGroup } from 'lit';
/**
* @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
* @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tab-panel--docs
* @status stable
* @since 2.1.0
*
* @slot - The tab panel's content.
*
* @csspart base - The component's base wrapper.
*
* @cssproperty --padding - The tab panel's padding.
*/
export default class SynTabPanel extends SynergyElement {
static styles: CSSResultGroup;
private readonly attrId;
private readonly componentId;
/** The tab panel's name. */
name: string;
/** When true, the tab panel will be shown. */
active: boolean;
connectedCallback(): void;
handleActiveChange(): void;
render(): import("lit").TemplateResult<1>;
}