Skip to content

Commit

Permalink
fix: remove unused isDisabled prop from Button interface
Browse files Browse the repository at this point in the history
  • Loading branch information
receter committed Sep 26, 2024
1 parent f2cb72c commit 3c42114
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/ui/lib/Button/useBaseButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import { mergeRefs } from "react-merge-refs";
import { Sys42Props } from "../types";

// This are our props that we want to expose as an interface to the Button component
interface ButtonProps {
/** Whether the button is disabled. */
isDisabled?: boolean;
}
interface ButtonProps {}

export type BaseButtonProps<ElemProps> = Sys42Props<ButtonProps, ElemProps>;

Expand Down

0 comments on commit 3c42114

Please sign in to comment.