@prefecthq/prefect-design
Version:
A collection of low-level Vue components.
28 lines (27 loc) • 1.15 kB
TypeScript
import { SelectModelValue, SelectOption } from '../../types/selectOption';
type __VLS_Props = {
modelValue: string | number | boolean | null | undefined;
options: SelectOption[];
preventFocus?: boolean;
};
declare function scrollToOption(value: SelectModelValue): HTMLElement | undefined;
declare var __VLS_1: {}, __VLS_11: {};
type __VLS_Slots = {} & {
before?: (props: typeof __VLS_1) => any;
} & {
after?: (props: typeof __VLS_11) => any;
};
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
scrollToOption: typeof scrollToOption;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
"update:modelValue": (value: SelectModelValue) => any;
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
"onUpdate:modelValue"?: ((value: SelectModelValue) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};