1 | import type { AlignType, BuildInPlacements } from '@rc-component/trigger/lib/interface';
|
2 | import * as React from 'react';
|
3 | import type { Placement, RenderDOMFunc } from './BaseSelect';
|
4 | export interface RefTriggerProps {
|
5 | getPopupElement: () => HTMLDivElement;
|
6 | }
|
7 | export interface SelectTriggerProps {
|
8 | prefixCls: string;
|
9 | children: React.ReactElement;
|
10 | disabled: boolean;
|
11 | visible: boolean;
|
12 | popupElement: React.ReactElement;
|
13 | animation?: string;
|
14 | transitionName?: string;
|
15 | placement?: Placement;
|
16 | builtinPlacements?: BuildInPlacements;
|
17 | dropdownStyle: React.CSSProperties;
|
18 | dropdownClassName: string;
|
19 | direction: string;
|
20 | dropdownMatchSelectWidth?: boolean | number;
|
21 | dropdownRender?: (menu: React.ReactElement) => React.ReactElement;
|
22 | getPopupContainer?: RenderDOMFunc;
|
23 | dropdownAlign: AlignType;
|
24 | empty: boolean;
|
25 | getTriggerDOMNode: (node: HTMLElement) => HTMLElement;
|
26 | onPopupVisibleChange?: (visible: boolean) => void;
|
27 | onPopupMouseEnter: () => void;
|
28 | }
|
29 | declare const RefSelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<RefTriggerProps>>;
|
30 | export default RefSelectTrigger;
|