mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 13:09:40 +08:00
fix: missing semicolon (#36008)
This commit is contained in:
parent
c7638a9294
commit
961383fa0c
@ -1,15 +1,15 @@
|
|||||||
import * as React from 'react';
|
|
||||||
import RcDropdown from 'rc-dropdown';
|
|
||||||
import classNames from 'classnames';
|
|
||||||
import RightOutlined from '@ant-design/icons/RightOutlined';
|
import RightOutlined from '@ant-design/icons/RightOutlined';
|
||||||
import DropdownButton from './dropdown-button';
|
import classNames from 'classnames';
|
||||||
|
import RcDropdown from 'rc-dropdown';
|
||||||
|
import * as React from 'react';
|
||||||
import { ConfigContext } from '../config-provider';
|
import { ConfigContext } from '../config-provider';
|
||||||
import warning from '../_util/warning';
|
|
||||||
import { tuple } from '../_util/type';
|
|
||||||
import { cloneElement } from '../_util/reactNode';
|
|
||||||
import getPlacements from '../_util/placements';
|
|
||||||
import OverrideContext from '../menu/OverrideContext';
|
|
||||||
import type { OverrideContextProps } from '../menu/OverrideContext';
|
import type { OverrideContextProps } from '../menu/OverrideContext';
|
||||||
|
import OverrideContext from '../menu/OverrideContext';
|
||||||
|
import getPlacements from '../_util/placements';
|
||||||
|
import { cloneElement } from '../_util/reactNode';
|
||||||
|
import { tuple } from '../_util/type';
|
||||||
|
import warning from '../_util/warning';
|
||||||
|
import DropdownButton from './dropdown-button';
|
||||||
|
|
||||||
const Placements = tuple(
|
const Placements = tuple(
|
||||||
'topLeft',
|
'topLeft',
|
||||||
@ -44,7 +44,7 @@ export type DropdownArrowOptions = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export interface DropdownProps {
|
export interface DropdownProps {
|
||||||
autoFocus?: boolean
|
autoFocus?: boolean;
|
||||||
arrow?: boolean | DropdownArrowOptions;
|
arrow?: boolean | DropdownArrowOptions;
|
||||||
trigger?: ('click' | 'hover' | 'contextMenu')[];
|
trigger?: ('click' | 'hover' | 'contextMenu')[];
|
||||||
overlay: React.ReactElement | OverlayFunc;
|
overlay: React.ReactElement | OverlayFunc;
|
||||||
|
Loading…
Reference in New Issue
Block a user