Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add docs
  • Loading branch information
pksjce committed Apr 4, 2024
commit 27b073094c8e3de2db3b3a867d3e599ec47ac31d
13 changes: 13 additions & 0 deletions packages/react/src/drafts/ActionBar/ActionBar.docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@
{
"name": "ActionBar.Divider",
"props": []
},
{
"name": "ActionBar.SubMenu",
"description": "Component to be used when having a menu in the actionbar. This facilitates smooth transition to submenu during overflow cases",
"props": [
{
"name": "anchor",
"type": "React.ReactElement",
"required": true,
"description": "This is the anchor element to be used as menu trigger. Ideally ActionBar.IconButton"
},
{"name": "children", "type": "React.ReactElement", "required": true}
]
}
]
}