Skip to content

Commit d95738e

Browse files
authored
outlineWidth support zero value (#3218)
1 parent 3627dbc commit d95738e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class Button extends PureComponent<Props, ButtonState> {
227227
let outlineStyle;
228228
if ((outline || outlineColor) && !this.isLink) {
229229
outlineStyle = {
230-
borderWidth: outlineWidth || 1,
230+
borderWidth: outlineWidth ?? 1,
231231
borderColor: outlineColor || Colors.$outlinePrimary
232232
};
233233

0 commit comments

Comments
 (0)