1f1d91bd1e
* Adding all the data-test-ids Test ID's for doing automation on explorer * Applied lint-fix Linting * More data ids
13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import { Typography } from '@mui/material';
|
|
import * as React from 'react';
|
|
|
|
export const ComponentError: React.FC<{ text: string }> = ({ text }) => (
|
|
<Typography
|
|
sx={{ marginTop: 2, color: 'primary.main', fontSize: 10 }}
|
|
variant="body1"
|
|
data-testid="delegation-total-amount"
|
|
>
|
|
{text}
|
|
</Typography>
|
|
);
|