UNPKG

@prefecthq/prefect-design

Version:

A collection of low-level Vue components.

37 lines (36 loc) 1.48 kB
import { VNode } from 'vue'; import { Tab } from '../../types/tabs'; 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: Readonly<(T | Tab<T>)[]>; selected?: 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; } & Record<string, (props: { tab: Tab<T>; index: number; }) => VNode> & { content: (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]; } & {};