Skip to content

Commit

Permalink
prettify button component
Browse files Browse the repository at this point in the history
  • Loading branch information
karooolis committed Aug 13, 2024
1 parent d593887 commit f709d6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/explorer/src/components/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ const buttonVariants = cva(
},
);

export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & { asChild?: boolean; }
export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> &
VariantProps<typeof buttonVariants> & { asChild?: boolean };

const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
({ className, variant, size, asChild = false, ...props }, ref) => {
Expand Down

0 comments on commit f709d6e

Please sign in to comment.