InvalidInputMessage.tsx 436 B

123456789101112131415161718
  1. import { Typography, TypographyProps } from "@mui/material";
  2. import { FC } from "react";
  3. const InvalidInputMessage: FC<TypographyProps> = (props) => {
  4. return (
  5. <Typography
  6. variant="mini"
  7. sx={{
  8. color: (theme) => theme.colors.danger.A700,
  9. }}
  10. {...props}
  11. >
  12. {props.children}
  13. </Typography>
  14. );
  15. };
  16. export default InvalidInputMessage;