s-private API Documentation - v3.8.1
    Preparing search index...

    Type Alias ButtonProps

    ButtonProps: { asChild?: boolean; ref?: React.Ref<HTMLButtonElement> } & React.ButtonHTMLAttributes<
        HTMLButtonElement,
    > & VariantProps<typeof buttonVariants>

    Props for the Button component.

    Type Declaration

    • OptionalasChild?: boolean

      Render as child element using Radix Slot

    • Optionalref?: React.Ref<HTMLButtonElement>

      Forwarded ref