File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ CSidebarNavDropdown.propTypes = {
117
117
children : PropTypes . node ,
118
118
//
119
119
innerRef : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . func ] ) ,
120
- name : PropTypes . string ,
120
+ name : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . object ] ) ,
121
121
icon : PropTypes . oneOfType ( [ PropTypes . object , PropTypes . string ] ) ,
122
122
fontIcon : PropTypes . string ,
123
123
show : PropTypes . bool ,
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ CSidebarNavItem.propTypes = {
63
63
badge : PropTypes . object ,
64
64
addLinkClass : PropTypes . string ,
65
65
label : PropTypes . bool ,
66
- name : PropTypes . string ,
66
+ name : PropTypes . oneOfType ( [ PropTypes . string , PropTypes . object ] ) ,
67
67
color : PropTypes . string
68
68
}
69
69
You can’t perform that action at this time.
0 commit comments