ui
ui copied to clipboard
fix: add missing deps for Button
Description
This PR adds the missing dependency from the Button component.
Screenshot
Screenshot of the issue |
---|
![]() |
Solution
Adding the following missing dependency fixes the issue:
import * as React from "react"
+ import { Slot } from "@radix-ui/react-slot"
import { VariantProps, cva } from "class-variance-authority"
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-template | ⬜️ Ignored (Inspect) | Visit Preview | May 13, 2023 9:04am | |
ui | ⬜️ Ignored (Inspect) | Visit Preview | May 13, 2023 9:04am |
@ghoshnirmalya is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
@ghoshnirmalya A bit off-top, but what is this font in your IDE, it looks awesome
@its-monotype Thanks. The font is Fira Code.
Could this dependency also be added to the CLI command?