Skip to content

Commit

Permalink
chore: add toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarig committed Jan 15, 2025
1 parent 8f9cb0d commit fc37ce6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/blade/src/components/Table/docs/BasicTable.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,16 @@ const TableTemplate: StoryFn<typeof TableComponent> = ({ ...args }) => {
onSelectionChange={console.log}
selectionType="multiple"
height="100%"
toolbar={
<TableToolbar title="Showing 1-10 [Items]" selectedTitle="Showing 1-10 [Items]">
<TableToolbarActions>
<Button variant="secondary" marginRight="spacing.2">
Export
</Button>
<Button>Refund</Button>
</TableToolbarActions>
</TableToolbar>
}
>
{(tableData) => (
<TableVirtulized
Expand Down

0 comments on commit fc37ce6

Please sign in to comment.