Icon refactoring (#287)

* Refactor icons

* Fix additional icons
This commit is contained in:
Félix Malfait
2023-06-14 07:55:54 +02:00
committed by GitHub
parent 7e73f013d1
commit 830b76cd9a
34 changed files with 194 additions and 161 deletions

View File

@ -1,7 +1,7 @@
import { TbTrash } from 'react-icons/tb';
import { useRecoilValue } from 'recoil';
import { EntityTableActionBarButton } from '@/ui/components/table/action-bar/EntityTableActionBarButton';
import { IconTrash } from '@/ui/icons/index';
import { useResetTableRowSelection } from '@/ui/tables/hooks/useResetTableRowSelection';
import { selectedRowIdsState } from '@/ui/tables/states/selectedRowIdsState';
import { useDeleteCompaniesMutation } from '~/generated/graphql';
@ -28,7 +28,7 @@ export function TableActionBarButtonDeleteCompanies() {
return (
<EntityTableActionBarButton
label="Delete"
icon={<TbTrash size={16} />}
icon={<IconTrash size={16} />}
type="warning"
onClick={handleDeleteClick}
/>