naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
15 lines (14 loc) • 646 B
TypeScript
import type { Ref } from 'vue';
import type { MergedTheme } from '../../_mixins';
import type { PopoverInst } from '../../popover/src/interface';
import type { PopselectTheme } from '../styles';
import type { PopselectSetupProps } from './Popselect';
export type PopselectSize = 'small' | 'medium' | 'large' | 'huge';
export interface PopselectInjection {
props: PopselectSetupProps;
mergedThemeRef: Ref<MergedTheme<PopselectTheme>>;
setShow: (value: boolean) => void;
syncPosition: () => void;
}
export type PopselectInst = PopoverInst;
export declare const popselectInjectionKey: import("vue").InjectionKey<PopselectInjection>;