@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
56 lines (55 loc) • 1.74 kB
TypeScript
import { SynCloseEvent, SynTab } from '@synergy-design-system/components';
export type { SynCloseEvent } from '@synergy-design-system/components';
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
/**
* The name of the tab panel this tab is associated with.
* The panel must be located in the same tab group.
*/
panel?: SynTab["panel"];
/**
* Draws the tab in an active state.
*/
active?: SynTab["active"];
/**
* Makes the tab closable and shows a close button.
*/
closable?: SynTab["closable"];
/**
* Disables the tab and prevents selection.
*/
disabled?: SynTab["disabled"];
}, {
nativeElement: import('vue').Ref<SynTab | undefined, SynTab | undefined>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"syn-close": (e: SynCloseEvent) => any;
}, string, import('vue').PublicProps, Readonly<{
/**
* The name of the tab panel this tab is associated with.
* The panel must be located in the same tab group.
*/
panel?: SynTab["panel"];
/**
* Draws the tab in an active state.
*/
active?: SynTab["active"];
/**
* Makes the tab closable and shows a close button.
*/
closable?: SynTab["closable"];
/**
* Disables the tab and prevents selection.
*/
disabled?: SynTab["disabled"];
}> & Readonly<{
"onSyn-close"?: ((e: SynCloseEvent) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
nativeElement: unknown;
}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};