@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
16 lines (15 loc) • 831 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import BlockIcon from '@mui/icons-material/Block';
import { Box, Typography } from '@mui/material';
import { useTranslation } from 'react-i18next';
export const NotFound = () => {
const { t } = useTranslation();
return (_jsxs(Box, { sx: {
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
flexDirection: 'column',
flex: 1,
padding: 3,
}, children: [_jsx(Typography, { fontSize: 48, children: _jsx(BlockIcon, { fontSize: "inherit" }) }), _jsx(Typography, { fontSize: 18, fontWeight: 700, children: t('tooltip.notFound.title') }), _jsx(Typography, { fontSize: 14, color: "text.secondary", textAlign: "center", mt: 2, children: t('tooltip.notFound.text') })] }));
};