although it runs okay and button appears but in terminal it gives warning as below
Warning: Invalid DOM property `xlink:href`. Did you mean `xlinkHref`?
at use
at svg
at span
at button
at eval (/home/project/location//src/components/ui/button.tsx:39:6)
and line # 39 is VariantProps<typeof buttonVariants> {
unable to understand where is this line and why it is throwing warning?
below is package.json
Describe the bug
Using shadcn with astro and create button component as per your documentations. below is the generate code
although it runs okay and button appears but in terminal it gives warning as below
and line # 39 is
VariantProps<typeof buttonVariants> {
unable to understand where is this line and why it is throwing warning? below is package.json
Affected component/components
Button
How to reproduce
npm run dev
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting