Skip to content

Commit fc37ce6

Browse files
committed
chore: add toolbar
1 parent 8f9cb0d commit fc37ce6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/blade/src/components/Table/docs/BasicTable.stories.tsx

+10
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,16 @@ const TableTemplate: StoryFn<typeof TableComponent> = ({ ...args }) => {
127127
onSelectionChange={console.log}
128128
selectionType="multiple"
129129
height="100%"
130+
toolbar={
131+
<TableToolbar title="Showing 1-10 [Items]" selectedTitle="Showing 1-10 [Items]">
132+
<TableToolbarActions>
133+
<Button variant="secondary" marginRight="spacing.2">
134+
Export
135+
</Button>
136+
<Button>Refund</Button>
137+
</TableToolbarActions>
138+
</TableToolbar>
139+
}
130140
>
131141
{(tableData) => (
132142
<TableVirtulized

0 commit comments

Comments
 (0)