ente/web/packages/accounts/components/two-factor/InvalidInputMessage.tsx
2024-03-01 12:21:07 +05:30

18 lines
436 B
TypeScript

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