-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NO CHANGELOG] [Add Funds Widget] Add funds legal footer (#2340)
- Loading branch information
1 parent
fcca155
commit a4353ff
Showing
6 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/checkout/widgets-lib/src/widgets/add-funds/components/SquidFooter.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Body, Link } from '@biom3/react'; | ||
import { Trans, useTranslation } from 'react-i18next'; | ||
|
||
export function SquidFooter() { | ||
const { t } = useTranslation(); | ||
|
||
return ( | ||
<Body | ||
size="xSmall" | ||
sx={{ | ||
textAlign: 'center', | ||
color: 'base.color.text.body.secondary', | ||
}} | ||
> | ||
<Trans | ||
i18nKey={t('views.ADD_FUNDS.footer.body')} | ||
components={{ | ||
squidLink: <Link | ||
size="xSmall" | ||
rc={<a target="_blank" href=" https://app.squidrouter.com" rel="noreferrer" />} | ||
/>, | ||
}} | ||
/> | ||
</Body> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters