@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
29 lines (28 loc) • 1.27 kB
TypeScript
import { VNode } from 'vue';
import { Tab } from '../../types';
declare const _default: <T extends string>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
readonly "onUpdate:selected"?: ((value: T) => any) | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:selected"> & {
tabs: (T | Tab<T>)[];
selected?: NoInfer<T>;
} & {}> & import("vue").PublicProps;
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
attrs: any;
slots: Record<`${string}-heading`, (props: {
tab: Tab<T>;
index: number;
}) => VNode> & {
heading: (props: {
tab: Tab<T>;
index: number;
}) => VNode;
};
emit: (event: "update:selected", value: T) => void;
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T as K]: T[K];
} & {};