Skip to content

Commit

Permalink
Update packages/explorer/src/components/ui/Button.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Ingersoll <[email protected]>
  • Loading branch information
karooolis and frolic authored Aug 13, 2024
1 parent 4240170 commit dd8e922
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/explorer/src/components/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ const buttonVariants = cva(
},
);

export interface ButtonProps
extends 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 dd8e922

Please sign in to comment.