20 lines
420 B
TypeScript
20 lines
420 B
TypeScript
import { AlertCircleIcon } from "lucide-react"
|
|
|
|
import {
|
|
Alert,
|
|
AlertDescription,
|
|
AlertTitle,
|
|
} from "@/registry/new-york-v4/ui/alert"
|
|
|
|
export default function AlertDestructive() {
|
|
return (
|
|
<Alert variant="destructive">
|
|
<AlertCircleIcon />
|
|
<AlertTitle>Error</AlertTitle>
|
|
<AlertDescription>
|
|
Your session has expired. Please log in again.
|
|
</AlertDescription>
|
|
</Alert>
|
|
)
|
|
}
|