-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from skalenetwork/add-erc721-tokens-support
New Metaport architecture - add ERC721 / ERC721Meta / ERC1155 support
- Loading branch information
Showing
87 changed files
with
4,181 additions
and
18,820 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
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,32 @@ | ||
import React from "react"; | ||
import LinearProgress from '@mui/material/LinearProgress'; | ||
|
||
import { clsNames } from '../../core/helper'; | ||
import styles from "../WidgetUI/WidgetUI.scss"; | ||
|
||
|
||
export default function AmountErrorMessage(props) { | ||
if (props.actionBtnDisabled) { | ||
return (<div className={clsNames(styles.mp__amountErrorMessage)}> | ||
<div className={clsNames(styles.mp__paddTop10)}> | ||
<LinearProgress className={clsNames(styles.mp__margLeft10, styles.mp__margRi10)} /> | ||
</div> | ||
</div>) | ||
} | ||
if (!props.amountErrorMessage) return (<div className={styles.mp__amountErrorMessage}></div>) | ||
return ( | ||
<div className={clsNames(styles.mp__flex, styles.mp__amountErrorMessage)}> | ||
<p className={clsNames( | ||
styles.mp__p3, | ||
styles.mp__p, | ||
styles.mp__flexGrow, | ||
styles.mp__textCentered, | ||
styles.mp__margTop5, | ||
styles.mp__noMargBott, | ||
styles.mp__minContent, | ||
styles.mp__errorMessage | ||
)}> | ||
{props.amountErrorMessage} | ||
</p> | ||
</div>) | ||
} |
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 @@ | ||
export { default } from "./AmountErrorMessage"; |
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
Oops, something went wrong.