Skip to content

Commit

Permalink
fix: readme example (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
TmLev authored Nov 22, 2022
1 parent 71959b8 commit 9697c55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Instead, we recommend using TypeScript's [Utility Types](https://www.typescriptl
// components/button.ts
import { cva, type VariantProps } from "class-variance-authority";

export type ButtonVariantProps = VariantProps<typeof button>;
export type ButtonVariantProps = VariantProps<typeof buttonVariants>;
export const buttonVariants = cva("", {
variants: {
optional: { a: "", b: "" },
Expand Down

0 comments on commit 9697c55

Please sign in to comment.