ui icon indicating copy to clipboard operation
ui copied to clipboard

fix: add missing deps for Button

Open ghoshnirmalya opened this issue 1 year ago • 5 comments

Description

This PR adds the missing dependency from the Button component.

Screenshot

Screenshot of the issue
Screenshot 2023-05-01 at 12 18 45 PM

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"

ghoshnirmalya avatar May 01 '23 06:05 ghoshnirmalya

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

vercel[bot] avatar May 01 '23 06:05 vercel[bot]

@ghoshnirmalya is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 01 '23 06:05 vercel[bot]

@ghoshnirmalya A bit off-top, but what is this font in your IDE, it looks awesome

its-monotype avatar May 01 '23 11:05 its-monotype

@its-monotype Thanks. The font is Fira Code.

ghoshnirmalya avatar May 01 '23 12:05 ghoshnirmalya

Could this dependency also be added to the CLI command?

SamHep0803 avatar May 03 '23 08:05 SamHep0803