UNPKG

antd

Version:

An enterprise-class UI design language and React components implementation

9 lines (8 loc) 695 B
import type { AlignType } from '@rc-component/trigger'; import type { PickerMode } from 'rc-picker/lib/interface'; import type { SelectCommonPlacement } from '../_util/motion'; import type { DirectionType } from '../config-provider'; import type { PickerLocale } from './generatePicker'; export declare function getPlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: string): string; export declare function getRangePlaceholder(locale: PickerLocale, picker?: PickerMode, customizePlaceholder?: [string, string]): [string, string] | undefined; export declare function transPlacement2DropdownAlign(direction: DirectionType, placement?: SelectCommonPlacement): AlignType;