calcom/apps/web/components/ui/alerts/Error.tsx
Omar López 558897fe53
Migrates components and libs to packages (#2172)
* Migrates Dialog to ui package

* Migrates Alert to ui

* Migrate Button to ui

* UI and lib migrations

* Add missing imports

* Update Error.tsx
2022-03-16 16:36:43 -07:00

8 lines
267 B
TypeScript

import { Alert } from "@calcom/ui/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} />;
}