mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
parent
1bbfffbc20
commit
bf4f28e710
1 changed files with 17 additions and 0 deletions
|
@ -81,4 +81,21 @@ By default, the first overflow menu item is focused when opening the dropdown.
|
|||
<OverflowMenuItem text="Manage credentials" />
|
||||
<OverflowMenuItem href="https://cloud.ibm.com/docs/api-gateway/" text="API documentation" />
|
||||
<OverflowMenuItem danger text="Delete service" />
|
||||
</OverflowMenu>
|
||||
|
||||
### Disabled items
|
||||
|
||||
Disable menu items by setting `disabled` to `true`.
|
||||
|
||||
<OverflowMenu>
|
||||
<OverflowMenuItem text="Create key" />
|
||||
<OverflowMenuItem text="Import key" />
|
||||
<OverflowMenuItem text="Revoke key" disabled />
|
||||
<OverflowMenuItem text="Duplicate key" disabled />
|
||||
<OverflowMenuItem
|
||||
hasDivider
|
||||
href="https://cloud.ibm.com/docs/api-gateway/"
|
||||
text="API documentation"
|
||||
/>
|
||||
<OverflowMenuItem hasDivider danger text="Delete service" />
|
||||
</OverflowMenu>
|
Loading…
Add table
Add a link
Reference in a new issue