mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +00:00
test(data-table): validate nonExpandableRowIds prop
This commit is contained in:
parent
cab576c335
commit
30d080a86c
1 changed files with 6 additions and 1 deletions
|
@ -222,7 +222,12 @@
|
||||||
]}"
|
]}"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<DataTable expandable headers="{headers}" rows="{rows}">
|
<DataTable
|
||||||
|
expandable
|
||||||
|
nonExpandableRowIds="{['a', 'b']}"
|
||||||
|
headers="{headers}"
|
||||||
|
rows="{rows}"
|
||||||
|
>
|
||||||
<div slot="expanded-row" let:row>
|
<div slot="expanded-row" let:row>
|
||||||
<pre>
|
<pre>
|
||||||
{JSON.stringify(row, null, 2)}
|
{JSON.stringify(row, null, 2)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue