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

Commit 9e6ab9c

Browse files
Merge pull request #417 from chakra-ui/fix/close-button-color
fix: close button customize color bug
2 parents c88b4e9 + fbbaa14 commit 9e6ab9c

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.changeset/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"linked": [],
99
"access": "public",
1010
"baseBranch": "master",
11-
"updateInternalDependencies": "patch"
11+
"updateInternalDependencies": "patch",
12+
"ignore": []
1213
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ const CCloseButton = {
7878
}
7979
}, [h(CIcon, {
8080
props: {
81-
color: props.color,
8281
name: 'close',
8382
size: iconSize
8483
},

packages/chakra-ui-core/src/CCloseButton/utils/closebutton.props.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@ export default {
88
type: Boolean,
99
default: false
1010
},
11-
color: {
12-
type: String,
13-
default: 'currentColor'
14-
},
1511
ariaLabel: {
1612
type: String,
1713
default: 'Close'

0 commit comments

Comments
 (0)