Skip to content

Commit 54cf95c

Browse files
committed
refactor: mark-props-as-read-only
1 parent 269e5d7 commit 54cf95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function Button({
4545
className,
4646
isDisabled,
4747
...props
48-
}: ButtonProps): React.ReactElement {
48+
}: Readonly<ButtonProps>): React.ReactElement {
4949
const isPrimary = variant === "primary" || variant === undefined;
5050
const isSecondary = variant === "secondary";
5151
const isTertiary = variant === "tertiary";

0 commit comments

Comments
 (0)