import { Alert, AlertIcon } from "@chakra-ui/alert"; const MyError = ({ message }: { message: string }) => { return ( {message} ); }; export default MyError;