From 67afff2baf0b6e5a3d4aa198117d163ff8bd85ad Mon Sep 17 00:00:00 2001 From: Dexter Date: Mon, 20 Mar 2023 12:23:39 +0000 Subject: [PATCH] feat: allow any icons for buttons --- .../consensus-validators-table.tsx | 9 +++++++-- .../src/components/button/button.tsx | 18 ++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/apps/governance/src/routes/staking/home/validator-tables/consensus-validators-table.tsx b/apps/governance/src/routes/staking/home/validator-tables/consensus-validators-table.tsx index 635e02926..ed6caebfc 100644 --- a/apps/governance/src/routes/staking/home/validator-tables/consensus-validators-table.tsx +++ b/apps/governance/src/routes/staking/home/validator-tables/consensus-validators-table.tsx @@ -2,7 +2,7 @@ import type { Dispatch, SetStateAction } from 'react'; import { forwardRef, useMemo, useRef, useState } from 'react'; import { useTranslation } from 'react-i18next'; import { useNavigate } from 'react-router-dom'; -import { Button } from '@vegaprotocol/ui-toolkit'; +import { Button, Icon } from '@vegaprotocol/ui-toolkit'; import { AgGridDynamic as AgGrid } from '@vegaprotocol/datagrid'; import { useAppState } from '../../../../contexts/app-state/app-state-context'; import { BigNumber } from '../../../../lib/bignumber'; @@ -87,7 +87,12 @@ const TopThirdCellRenderer = (