c09846bb36
A snapshot of https://github.com/nymtech/nym-wallet-web/tree/60b36db17d994e597b91981be5d60b0488618019 is put into a wallet-web folder.
18 lines
418 B
TypeScript
18 lines
418 B
TypeScript
import {Alert} from '@material-ui/lab';
|
|
import { getDisplayExecGasFee } from "../common/helpers";
|
|
|
|
type ExecFeeNoticeProps = {
|
|
name: string
|
|
}
|
|
|
|
const ExecFeeNotice = (props: ExecFeeNoticeProps) => {
|
|
return (
|
|
<Alert severity="info">
|
|
The gas fee for
|
|
<strong> {props.name} </strong>
|
|
{`is ${getDisplayExecGasFee()}`}
|
|
</Alert>
|
|
)
|
|
}
|
|
|
|
export default ExecFeeNotice |