Skip to content

Commit

Permalink
Fix IconButton error
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethasok committed Nov 8, 2023
1 parent 70c8418 commit f004f93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Table/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ const MobileActions = styled.div`
}
`;

const TableRowCloseButton = styled(IconButton)<{ $deleted?: boolean }>`
const TableRowCloseButton = styled.button<{ $deleted?: boolean }>`
transition: transform 200ms;
${({ $deleted }) => `
Expand Down Expand Up @@ -341,6 +341,7 @@ const TableBodyRow = ({
onClick={onEdit}
/>
<TableRowCloseButton
as={IconButton}
$deleted={deleted}
type="ghost"
icon="cross"
Expand Down

0 comments on commit f004f93

Please sign in to comment.