snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
11
apps/v4/registry/new-york-v4/examples/button-loading.tsx
Normal file
11
apps/v4/registry/new-york-v4/examples/button-loading.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Button } from "@/registry/new-york-v4/ui/button"
|
||||
import { Spinner } from "@/registry/new-york-v4/ui/spinner"
|
||||
|
||||
export default function ButtonLoading() {
|
||||
return (
|
||||
<Button size="sm" variant="outline" disabled>
|
||||
<Spinner />
|
||||
Submit
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user