Skip to content

Commit

Permalink
feat: add recovery delay tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Nov 22, 2023
1 parent 3bffc0b commit 6dcfc49
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Collapse,
Checkbox,
FormControlLabel,
Tooltip,
} from '@mui/material'
import ExpandLessIcon from '@mui/icons-material/ExpandLess'
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
Expand All @@ -25,6 +26,7 @@ import CircleCheckIcon from '@/public/images/common/circle-check.svg'
import { useDarkMode } from '@/hooks/useDarkMode'
import { sameAddress } from '@/utils/addresses'
import useSafeInfo from '@/hooks/useSafeInfo'
import InfoIcon from '@/public/images/notifications/info.svg'
import type { UpsertRecoveryFlowProps } from '.'

import commonCss from '@/components/tx-flow/common/styles.module.css'
Expand Down Expand Up @@ -85,6 +87,21 @@ export function UpsertRecoveryFlowSettings({
<div>
<Typography variant="h5" gutterBottom>
Recovery delay
<Tooltip
placement="top"
arrow
title="The recovery delay begins after the recovery attempt is initiated"
>
<span>
<SvgIcon
component={InfoIcon}
inheritViewBox
fontSize="small"
color="border"
sx={{ verticalAlign: 'middle', ml: 0.5 }}
/>
</span>
</Tooltip>
</Typography>

<Typography variant="body2">
Expand Down

0 comments on commit 6dcfc49

Please sign in to comment.