@prefecthq/prefect-ui-library
Version:
This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.
29 lines (28 loc) • 1.08 kB
TypeScript
import { FlowRun, StateUpdateDetails, TaskRun } from '../models';
type __VLS_Props = {
showModal: boolean;
label?: string;
run: FlowRun | TaskRun;
};
declare var __VLS_8: {}, __VLS_52: {};
type __VLS_Slots = {} & {
title?: (props: typeof __VLS_8) => any;
} & {
actions?: (props: typeof __VLS_52) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:showModal": (value: boolean) => any;
change: (value: StateUpdateDetails) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:showModal"?: ((value: boolean) => any) | undefined;
onChange?: ((value: StateUpdateDetails) => any) | undefined;
}>, {
label: string;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};