@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_.
17 lines (16 loc) • 846 B
TypeScript
import { Notification } from '../models';
import { FormAction } from '../types/buttons';
type __VLS_Props = {
notification?: Notification;
action?: FormAction;
};
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
submit: (value: Partial<Notification>) => void;
"update:notification": (value: Partial<Notification>) => void;
cancel: () => void;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
onCancel?: (() => any) | undefined;
onSubmit?: ((value: Partial<Notification>) => any) | undefined;
"onUpdate:notification"?: ((value: Partial<Notification>) => any) | undefined;
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
export default _default;