form error massage component

This commit is contained in:
2023-07-11 10:44:44 +03:30
parent f9cecf0819
commit 4e5aed4d36

View File

@@ -0,0 +1,10 @@
import { Typography } from "@mui/material";
const FormErrorMessage = (props) => {
return (
<Typography variant="body2" color="error">
{props.children}
</Typography>
);
};
export default FormErrorMessage;