Skip to content

Commit

Permalink
feat: widget configurator app
Browse files Browse the repository at this point in the history
  • Loading branch information
fairlighteth committed Oct 12, 2023
1 parent d0b064e commit 6c39e14
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions apps/widget-configurator/src/app/configurator/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import Divider from '@mui/material/Divider'
import EmbedDialog from './embedDialog'
import Checkbox from '@mui/material/Checkbox'
import ListItemText from '@mui/material/ListItemText'
import SaveIcon from '@mui/icons-material/Save'
// import SaveIcon from '@mui/icons-material/Save'
import WalletIcon from '@mui/icons-material/Wallet'
import LoadingButton from '@mui/lab/LoadingButton'

enum TradeMode {
Expand Down Expand Up @@ -101,6 +102,12 @@ export function Configurator({ title }: { title: string }) {
{title}
</Typography>

<Divider variant="middle">Wallet</Divider>

<LoadingButton loading={false} loadingPosition="start" startIcon={<WalletIcon />} variant="contained" onClick={handleWidgetRefreshClick}>
Connect
</LoadingButton>

<Divider variant="middle">General</Divider>

<FormControl sx={{ width: '100%' }}>
Expand Down Expand Up @@ -199,9 +206,9 @@ export function Configurator({ title }: { title: string }) {

<Divider variant="middle" />

<LoadingButton loading={false} loadingPosition="start" startIcon={<SaveIcon />} variant="contained" onClick={handleWidgetRefreshClick}>
{/* <LoadingButton loading={false} loadingPosition="start" startIcon={<SaveIcon />} variant="contained" onClick={handleWidgetRefreshClick}>
Refresh Widget
</LoadingButton>
</LoadingButton> */}

<EmbedDialog />

Expand Down

0 comments on commit 6c39e14

Please sign in to comment.