-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into chore/bump-yoroi-eutxo-lib
- Loading branch information
Showing
100 changed files
with
2,056 additions
and
965 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { Button, Typography } from '@mui/material'; | ||
import { styled } from '@mui/material/styles'; | ||
import React from 'react'; | ||
import { ReactComponent as BackIcon } from '../../assets/images/assets-page/back-arrow.inline.svg'; | ||
|
||
const SButton = styled(Button)(({ theme }: any) => ({ | ||
color: theme.palette.ds.el_gray_medium, | ||
'&.MuiButton-sizeMedium': { | ||
padding: '13px 16px', | ||
}, | ||
'& svg': { | ||
'& path': { | ||
fill: theme.palette.ds.el_gray_medium, | ||
}, | ||
}, | ||
})); | ||
|
||
export const BackButton = ({ label, onAction }: { label: string; onAction: () => void }) => { | ||
return ( | ||
<SButton onClick={onAction} startIcon={<BackIcon />}> | ||
<Typography fontWeight="500" fontSize="14px"> | ||
{label} | ||
</Typography> | ||
</SButton> | ||
); | ||
}; |
Oops, something went wrong.