mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-30 16:14:13 +00:00
25 lines
679 B
TypeScript
25 lines
679 B
TypeScript
import { Button } from "@/examples/base/ui/button"
|
|
import { ArrowRightIcon } from "lucide-react"
|
|
|
|
export function ButtonExamples() {
|
|
return (
|
|
<div className="flex flex-wrap items-center gap-4">
|
|
<div className="flex items-center gap-2">
|
|
<Button variant="outline">Cancel</Button>
|
|
<Button>
|
|
Submit <ArrowRightIcon />
|
|
</Button>
|
|
</div>
|
|
<div className="flex items-center gap-2">
|
|
<Button variant="destructive">Delete</Button>
|
|
<Button size="icon">
|
|
<ArrowRightIcon />
|
|
</Button>
|
|
</div>
|
|
<Button render={<a href="#" />} nativeButton={false}>
|
|
Link
|
|
</Button>
|
|
</div>
|
|
)
|
|
}
|