@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
38 lines (37 loc) • 1.43 kB
TypeScript
declare const _default: <T extends Record<string, any>>(__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<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & {
items: T[];
shown?: number;
increment?: number;
decrement?: number;
buttonLabel?: string;
} & {}> & import("vue").PublicProps;
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
attrs: any;
slots: {
default?: (props: {
item: T;
index: number;
shown: number;
showMore: () => void;
showLess: () => void;
canShowMore: boolean;
canShowLess: boolean;
}) => any;
} & {
bottom?: (props: {
shown: number;
showMore: () => void;
showLess: () => void;
canShowMore: boolean;
canShowLess: boolean;
}) => any;
};
emit: {};
}>) => import("vue").VNode & {
__ctx?: Awaited<typeof __VLS_setup>;
};
export default _default;
type __VLS_PrettifyLocal<T> = {
[K in keyof T as K]: T[K];
} & {};