test(data-table): validate nonExpandableRowIds prop

This commit is contained in:
metonym 2021-10-19 07:20:00 -07:00
commit 30d080a86c

View file

@ -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)}