We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5457b8d commit afeaa5dCopy full SHA for afeaa5d
src/Menu.tsx
@@ -18,7 +18,8 @@ import {
18
} from './interface';
19
import { getMotion } from './utils/legacyUtil';
20
21
-export interface MenuProps {
+export interface MenuProps
22
+ extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick' | 'onSelect'> {
23
defaultSelectedKeys?: string[];
24
defaultActiveFirst?: boolean;
25
selectedKeys?: string[];
@@ -38,9 +39,6 @@ export interface MenuProps {
38
39
level?: number;
40
selectable?: boolean;
41
multiple?: boolean;
- children?: React.ReactNode;
42
- className?: string;
43
- style?: React.CSSProperties;
44
activeKey?: string;
45
prefixCls?: string;
46
builtinPlacements?: BuiltinPlacements;
0 commit comments