File tree 1 file changed +3
-6
lines changed
packages/clay-drop-down/src
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -28,11 +28,7 @@ import Menu from './Menu';
28
28
import Search from './Search' ;
29
29
import Section from './Section' ;
30
30
31
- import type {
32
- AlignPoints ,
33
- IPortalBaseProps ,
34
- InternalDispatch ,
35
- } from '@clayui/shared' ;
31
+ import type { AlignPoints , InternalDispatch } from '@clayui/shared' ;
36
32
37
33
const { Collection} = __NOT_PUBLIC_COLLECTION ;
38
34
@@ -108,7 +104,8 @@ interface IProps<T>
108
104
/**
109
105
* Prop to pass DOM element attributes to DropDown.Menu.
110
106
*/
111
- menuElementAttrs ?: React . HTMLAttributes < HTMLDivElement > & IPortalBaseProps ;
107
+ menuElementAttrs ?: React . HTMLAttributes < HTMLDivElement > &
108
+ Pick < React . ComponentProps < typeof Menu > , 'containerProps' > ;
112
109
113
110
/**
114
111
* Adds utility class name `dropdown-menu-height-${height}`
You can’t perform that action at this time.
0 commit comments