1 | import * as React from 'react';
|
2 | import type { AlignType } from '@rc-component/trigger/lib/interface';
|
3 | type Placement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
|
4 | export type PickerTriggerProps = {
|
5 | prefixCls: string;
|
6 | visible: boolean;
|
7 | popupElement: React.ReactElement;
|
8 | popupStyle?: React.CSSProperties;
|
9 | children: React.ReactElement;
|
10 | dropdownClassName?: string;
|
11 | transitionName?: string;
|
12 | getPopupContainer?: (node: HTMLElement) => HTMLElement;
|
13 | dropdownAlign?: AlignType;
|
14 | range?: boolean;
|
15 | popupPlacement?: Placement;
|
16 | direction?: 'ltr' | 'rtl';
|
17 | };
|
18 | declare function PickerTrigger({ prefixCls, popupElement, popupStyle, visible, dropdownClassName, dropdownAlign, transitionName, getPopupContainer, children, range, popupPlacement, direction, }: PickerTriggerProps): React.JSX.Element;
|
19 | export default PickerTrigger;
|