@synergy-design-system/vue
Version:
Vue3 wrappers for the Synergy Design System
56 lines (55 loc) • 1.85 kB
TypeScript
import { SynCloseEvent } from '@synergy-design-system/components';
import { default as SynTab } from '@synergy-design-system/components/components/tab/tab.component.js';
export type { SynCloseEvent } from '@synergy-design-system/components';
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: __VLS_WithSlots<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, {}, any>, {
default?: (props: {}) => any;
}>;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};