Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 913d502

Browse files
Use bgColor to support stripe in cprogress
1 parent a01ea6d commit 913d502

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/chakra-ui-core/src/CProgress/CProgress.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ const CProgress = {
225225
value: this.value
226226
},
227227
attrs: {
228-
bg: indicatorColor[this.colorMode],
228+
bgColor: indicatorColor[this.colorMode],
229229
borderRadius: this.__borderRadius,
230230
...this.isIndeterminate && {
231231
width: '100%',

packages/chakra-ui-core/src/CProgress/tests/__snapshots__/CProgress.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exports[`should render correctly 1`] = `
1616
-webkit-transition: all 0.3s;
1717
transition: all 0.3s;
1818
width: 40%;
19-
background: var(--colors-green-500);
19+
background-color: var(--colors-green-500);
2020
border-radius: var(--radii-sm);
2121
}
2222

0 commit comments

Comments
 (0)