ente/web/packages/accounts/components/two-factor/InvalidInputMessage.tsx
2024-05-24 18:54:16 +05:30

19 lines
446 B
TypeScript

import { Typography, type TypographyProps } from "@mui/material";
import React from "react";
const InvalidInputMessage: React.FC<TypographyProps> = (props) => {
return (
<Typography
variant="mini"
sx={{
color: (theme) => theme.colors.danger.A700,
}}
{...props}
>
{props.children}
</Typography>
);
};
export default InvalidInputMessage;