File tree 1 file changed +4
-3
lines changed
packages/clay-drop-down/src
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ const Item = ({
95
95
96
96
return (
97
97
< DropDown . Item
98
+ { ...props }
98
99
onClick = { ( event ) => {
99
100
if ( onForward && child && label ) {
100
101
event . preventDefault ( ) ;
@@ -115,7 +116,6 @@ const Item = ({
115
116
}
116
117
} }
117
118
spritemap = { spritemap }
118
- { ...props }
119
119
>
120
120
{ label }
121
121
@@ -406,18 +406,19 @@ export type Item = {
406
406
* The unique id that references the next menu.
407
407
*/
408
408
child ?: string ;
409
+ title ?: string ;
410
+ items ?: Array < Item > ;
409
411
410
412
/**
411
413
* @deprecated since v3.129.0 - use `title` instead.
412
414
*/
413
- title ?: string ;
414
- items ?: Array < Item > ;
415
415
label ?: string ;
416
416
name ?: string ;
417
417
onChange ?: Function ;
418
418
onClick ?: ( event : React . MouseEvent < HTMLElement , MouseEvent > ) => void ;
419
419
symbolLeft ?: string ;
420
420
symbolRight ?: string ;
421
+ target ?: string ;
421
422
type ?:
422
423
| 'checkbox'
423
424
| 'contextual'
You can’t perform that action at this time.
0 commit comments