@openocean.finance/widget
Version:
Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
10 lines • 553 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { WarningRounded } from '@mui/icons-material';
import { Typography } from '@mui/material';
import { AlertMessage } from './AlertMessage.js';
export const ServerErrorMessage = ({ errorMsg, ...props }) => {
return (_jsx(AlertMessage, { severity: "warning", icon: _jsx(WarningRounded, {}), title: _jsx(Typography, { variant: "body2", sx: {
color: 'text.primary',
}, children: errorMsg }), multiline: true, ...props }));
};
//# sourceMappingURL=ServeErrorMessage.js.map