import * as React from 'react'; import { RenderFunction } from '@xt-ui/utils'; import './style/index.less'; export type PlacementProps = 'topLeft' | 'top' | 'topRight' | 'bottomLeft' | 'bottom' | 'bottomRight'; export type TriggerType = 'hover' | 'click'; interface DropdownOptions { children?: React.ReactNode | React.ReactNode[]; trigger: TriggerType; overlay: RenderFunction | React.ReactNode; placement: PlacementProps; arrow: boolean; onVisibleChange: (visible: boolean) => void; } export type DropdownProps = Partial; declare const Dropdown: React.FC; export default Dropdown;