mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
* feat: move new-york to lucide-react * fix: mail open * chore: update registry * chore: add test:dev * chore: add changeset * feat: build an icon registry * chore: add missing registry icons * feat: add an icons debug page * feat: add an icon migration * chore(www): migrate all radix icons to lucide * feat: update migration script * chore: update changeset * feat(shadcn): implement icons transformer * fix: missing registry icons * fix(shadcn): handling of missing icons * feat: add support for multiple libraries
13 lines
251 B
TypeScript
13 lines
251 B
TypeScript
import { Loader2 } from "lucide-react"
|
|
|
|
import { Button } from "@/registry/default/ui/button"
|
|
|
|
export default function ButtonLoading() {
|
|
return (
|
|
<Button disabled>
|
|
<Loader2 className="animate-spin" />
|
|
Please wait
|
|
</Button>
|
|
)
|
|
}
|