Skip to content

Commit

Permalink
fix: add as props on button component
Browse files Browse the repository at this point in the history
  • Loading branch information
gndz07 authored Feb 7, 2023
1 parent 30bf169 commit 8f1435f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export interface ButtonVariants extends VariantProps<typeof StyledButton> {}
export interface ButtonProps extends ComponentProps<typeof StyledButton>, ButtonVariants {
css?: CSS;
asChild?: boolean;
as?: string;
}

export const Button = React.forwardRef<React.ElementRef<typeof StyledButton>, ButtonProps>(
Expand Down

0 comments on commit 8f1435f

Please sign in to comment.