@scalar/api-client
Version:
the open source API testing client
26 lines • 1.12 kB
TypeScript
import type { Tab } from '@scalar/workspace-store/schemas/extensions/workspace';
type __VLS_Props = {
/** Optional keyboard shortcut number for the tab */
hotkey?: string;
/** Whether this tab is currently active */
active: boolean;
/** Whether this is the only tab (changes styling to header-like appearance) */
isSingleTab?: boolean;
/** The tab data */
tab: Tab;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
click: () => any;
close: () => any;
newTab: () => any;
copyUrl: () => any;
closeOtherTabs: () => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onClick?: (() => any) | undefined;
onClose?: (() => any) | undefined;
onNewTab?: (() => any) | undefined;
onCopyUrl?: (() => any) | undefined;
onCloseOtherTabs?: (() => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;
//# sourceMappingURL=DesktopTab.vue.d.ts.map