Skip to content

Commit

Permalink
feat: add action icons in Table sandbox (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
amje authored Jun 9, 2024
1 parent 8b4c3b6 commit 35911a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/content/components/uikit/Table/TableComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import {Printer, TrashBin} from '@gravity-ui/icons';
import {
Icon,
Table,
TableAction,
TableColumnConfig,
Expand Down Expand Up @@ -90,11 +92,13 @@ const getRowActions = (): TableAction<DataItem>[] => {
{
text: 'Print',
handler: () => {},
icon: <Icon data={Printer} size={12} />,
},
{
text: 'Remove',
handler: () => {},
theme: 'danger',
icon: <Icon data={TrashBin} size={12} />,
},
];
};
Expand Down

0 comments on commit 35911a1

Please sign in to comment.