From 8f1435f0be8bfd0ddb41b5c174234ee6e8460813 Mon Sep 17 00:00:00 2001 From: Gina A <70909035+gndz07@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:18:05 +0100 Subject: [PATCH] fix: add `as` props on button component --- components/Button/Button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/Button/Button.tsx b/components/Button/Button.tsx index cf7c1c84..3a252001 100644 --- a/components/Button/Button.tsx +++ b/components/Button/Button.tsx @@ -279,6 +279,7 @@ export interface ButtonVariants extends VariantProps {} export interface ButtonProps extends ComponentProps, ButtonVariants { css?: CSS; asChild?: boolean; + as?: string; } export const Button = React.forwardRef, ButtonProps>(