mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-29 23:55:02 +00:00
fix
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import Link from "next/link"
|
||||
import { Button } from "@/examples/base/ui/button"
|
||||
|
||||
export default function ButtonRender() {
|
||||
return <Button render={<Link href="#" />}>Login</Button>
|
||||
return (
|
||||
<Button nativeButton={false} render={<a href="#" />}>
|
||||
Login
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user