cal.pub0.org/components/ui/alerts/Error.tsx

9 lines
260 B
TypeScript

import { Alert } from "../Alert";
/**
* @deprecated use `<Alert severity="error" message="x" />` instead
*/
export default function ErrorAlert(props: { message: string; className?: string }) {
return <Alert severity="errror" message={props.message} />;
}