File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
packages/clay-drop-down/docs Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -388,21 +388,21 @@ To render a cascading menu it is necessary to set the `type` of the item to `con
388388
389389``` js
390390const items = [
391- {label : ' Folder' },
391+ {title : ' Folder' },
392392 {type: ' divider' },
393393 {
394394 items: [
395- {label : ' Basic Document' },
396- {label : ' Contract' },
397- {label : ' Marketing Banner' },
398- {label : ' Spreadsheet' },
399- {label : ' Presentation' },
395+ {title : ' Basic Document' },
396+ {title : ' Contract' },
397+ {title : ' Marketing Banner' },
398+ {title : ' Spreadsheet' },
399+ {title : ' Presentation' },
400400 ],
401- label : ' Document' ,
401+ title : ' Document' ,
402402 type: ' contextual' ,
403403 },
404- {label : ' Shortcut' },
405- {label : ' Repository' },
404+ {title : ' Shortcut' },
405+ {title : ' Repository' },
406406];
407407```
408408
You can’t perform that action at this time.
0 commit comments