We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 269e5d7 commit 54cf95cCopy full SHA for 54cf95c
src/lib/button/index.tsx
@@ -45,7 +45,7 @@ function Button({
45
className,
46
isDisabled,
47
...props
48
-}: ButtonProps): React.ReactElement {
+}: Readonly<ButtonProps>): React.ReactElement {
49
const isPrimary = variant === "primary" || variant === undefined;
50
const isSecondary = variant === "secondary";
51
const isTertiary = variant === "tertiary";
0 commit comments