mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-10-30 18:22:59 +00:00
20 lines
400 B
TypeScript
20 lines
400 B
TypeScript
import { Terminal } from "lucide-react"
|
|
|
|
import {
|
|
Alert,
|
|
AlertDescription,
|
|
AlertTitle,
|
|
} from "@/registry/default/ui/alert"
|
|
|
|
export default function AlertDemo() {
|
|
return (
|
|
<Alert>
|
|
<Terminal className="h-4 w-4" />
|
|
<AlertTitle>Heads up!</AlertTitle>
|
|
<AlertDescription>
|
|
You can add components to your app using the cli.
|
|
</AlertDescription>
|
|
</Alert>
|
|
)
|
|
}
|