mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-08 14:35:09 +00:00
- Remove unused import from Alert Default example - Remove unused imports from Alert Destructive example - Remove unused imports from Dropdown Menu Radio Group example
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>
|
|
)
|
|
}
|