import * as React from "react"
const Alert = React.forwardRef(({ className, variant = "default", ...props }, ref) => {
const variants = {
default: "bg-background text-foreground",
destructive: "bg-destructive text-destructive-foreground"
}
return (
svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground ${variants[variant]} ${className}`}
{...props}
/>
)
})
Alert.displayName = "Alert"
const AlertDescription = React.forwardRef(({ className, ...props }, ref) => (
))
AlertDescription.displayName = "AlertDescription"
export { Alert, AlertDescription }