diff --git a/packages/react/components/Button.tsx b/packages/react/components/Button.tsx index 4f36a8f..6425fc6 100644 --- a/packages/react/components/Button.tsx +++ b/packages/react/components/Button.tsx @@ -1,7 +1,7 @@ import React from "react"; import { vcn, VariantProps } from "@/shared"; -const variants = vcn({ +const [buttonVariants, resolveVariants] = vcn({ base: "flex flex-row items-center justify-between rounded-md", variants: { variant: { @@ -27,11 +27,18 @@ const variants = vcn({ export interface ButtonProps extends Omit, "className">, - VariantProps {} + VariantProps {} const Button = React.forwardRef( (props, ref) => { - return