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

Commit e5ad556

Browse files
committed
fix(closebutton): remove color prop
1 parent b9fde6d commit e5ad556

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

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)