Skip to content

Commit 75cb7a7

Browse files
authored
Fix propType (#3012)
Was using a custom propType vs bool.
1 parent 2c122b8 commit 75cb7a7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

components/combobox/combobox.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ const propTypes = {
260260
subTitle: PropTypes.string,
261261
title: PropTypes.string,
262262
type: PropTypes.string,
263-
disabled: PropTypes.boolean,
263+
disabled: PropTypes.bool,
264264
tooltipContent: PropTypes.node,
265265
})
266266
),

components/component-docs.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4967,8 +4967,7 @@
49674967
"required": false
49684968
},
49694969
"disabled": {
4970-
"name": "custom",
4971-
"raw": "PropTypes.boolean",
4970+
"name": "bool",
49724971
"required": false
49734972
},
49744973
"tooltipContent": {

0 commit comments

Comments
 (0)