Skip to content

Commit

Permalink
outlineWidth support zero value (#3218)
Browse files Browse the repository at this point in the history
  • Loading branch information
adids1221 authored Aug 21, 2024
1 parent 3627dbc commit d95738e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ class Button extends PureComponent<Props, ButtonState> {
let outlineStyle;
if ((outline || outlineColor) && !this.isLink) {
outlineStyle = {
borderWidth: outlineWidth || 1,
borderWidth: outlineWidth ?? 1,
borderColor: outlineColor || Colors.$outlinePrimary
};

Expand Down

0 comments on commit d95738e

Please sign in to comment.