calcom/components/ui/alerts/Error.tsx
Mihai C 4a07c27da5
fix: alert severity (#814)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2021-09-29 11:33:40 +00:00

8 lines
259 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="error" message={props.message} />;
}