From 88a4e5d2707d6f9f24262c52f37134d1459bb0ac Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Mon, 5 Sep 2022 12:31:54 +0100 Subject: [PATCH] feat: add checkboxes to bridges and exchanges selection --- .../SettingsPage/EnabledBridgesSelect.tsx | 18 ++++++++++++++--- .../SettingsPage/EnabledExchangesSelect.tsx | 20 +++++++++++++++---- 2 files changed, 31 insertions(+), 7 deletions(-) diff --git a/packages/widget/src/pages/SettingsPage/EnabledBridgesSelect.tsx b/packages/widget/src/pages/SettingsPage/EnabledBridgesSelect.tsx index b3a666bf6..6b64d3437 100644 --- a/packages/widget/src/pages/SettingsPage/EnabledBridgesSelect.tsx +++ b/packages/widget/src/pages/SettingsPage/EnabledBridgesSelect.tsx @@ -1,6 +1,13 @@ import type { Bridge } from '@lifi/sdk'; import { KeyboardArrowDown as KeyboardArrowDownIcon } from '@mui/icons-material'; -import { Box, Chip, FormControl, MenuItem, Skeleton } from '@mui/material'; +import { + Box, + Checkbox, + Chip, + FormControl, + MenuItem, + Skeleton, +} from '@mui/material'; import { useTranslation } from 'react-i18next'; import shallow from 'zustand/shallow'; import { Card, CardTitle } from '../../components/Card'; @@ -23,7 +30,7 @@ export const EnabledBridgesSelect: React.FC = () => {