interface ButtonProps {
    asChild?: boolean;
    size?:
        | null
        | "sm"
        | "lg"
        | "default"
        | "icon";
    variant?:
        | null
        | "link"
        | "default"
        | "destructive"
        | "outline"
        | "secondary"
        | "ghost";
}

Hierarchy

  • ButtonHTMLAttributes<HTMLButtonElement>
  • VariantProps<typeof buttonVariants>
    • ButtonProps

Properties

asChild?: boolean
size?:
    | null
    | "sm"
    | "lg"
    | "default"
    | "icon" = ...
variant?:
    | null
    | "link"
    | "default"
    | "destructive"
    | "outline"
    | "secondary"
    | "ghost" = ...