mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
Make Overflow menu example more similar to react one
This commit is contained in:
parent
a5a1d27393
commit
2921502122
2 changed files with 4 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
{ key: "name", value: "Name" },
|
||||
{ key: "port", value: "Port" },
|
||||
{ key: "rule", value: "Rule" },
|
||||
{ key: "overflow", empty: true },
|
||||
{ key: "overflow", empty: true, columnMenu: true },
|
||||
];
|
||||
|
||||
const rows = [
|
||||
|
@ -25,7 +25,7 @@
|
|||
<DataTable sortable headers="{headers}" rows="{rows}">
|
||||
<svelte:fragment slot="cell" let:cell>
|
||||
{#if cell.key === "overflow"}
|
||||
<OverflowMenu flipped>
|
||||
<OverflowMenu size="sm" flipped>
|
||||
<OverflowMenuItem text="Restart" />
|
||||
<OverflowMenuItem
|
||||
href="https://cloud.ibm.com/docs/loadbalancer-service"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue