
* Migrates Dialog to ui package * Migrates Alert to ui * Migrate Button to ui * UI and lib migrations * Add missing imports * Update Error.tsx
8 lines
267 B
TypeScript
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} />;
|
|
}
|