2eee5195cc
* new react and reactdom packages in wallet * new react and reactdom packages in root * new react and reactdom packages in nym connect * new react and reactdom packages in root * update react and reactdom for explorer * react and react-dom upgrade for ts-packages remove unused import fix linting error * use custom FC typing move typings folder * fix type error
13 lines
330 B
TypeScript
13 lines
330 B
TypeScript
import { Typography } from '@mui/material';
|
|
import * as React from 'react';
|
|
|
|
export const ComponentError: FCWithChildren<{ text: string }> = ({ text }) => (
|
|
<Typography
|
|
sx={{ marginTop: 2, color: 'primary.main', fontSize: 10 }}
|
|
variant="body1"
|
|
data-testid="delegation-total-amount"
|
|
>
|
|
{text}
|
|
</Typography>
|
|
);
|