Skip to content

Commit 8852cc5

Browse files
committed
docs(Stories): update Datatable Checkbox story
1 parent 015be67 commit 8852cc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stories/Datatable.stories.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ onMount(() =>
8383
</Datatable.Header>
8484

8585
<Datatable.Data>
86-
<Datatable.Data.Row clickable={args.clickable}>
87-
<Datatable.Checkbox />
86+
<Datatable.Data.Row clickable={args.clickable} let:rowId>
87+
<Datatable.Checkbox {rowId} />
8888
<Datatable.Data.Row.Item>item</Datatable.Data.Row.Item>
8989
<Datatable.Data.Row.Item>today</Datatable.Data.Row.Item>
9090
</Datatable.Data.Row>

0 commit comments

Comments
 (0)