asChild in a Base UI project
Why it matters
Base UI components compose through the render prop; asChild is ignored.
Fix
Use render={<Link href="…" />}.
Credit
From Base UI
Components compose through the render prop rather than asChild.
References
- Composition · Base UIBase UI