Skip to content

Commit 1b01cee

Browse files
committed
Fix <Panel /> incorrect prop: color instead of colors
1 parent e130e2e commit 1b01cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/panel/panel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Panel.propTypes = {
3232
...modifiers.propTypes,
3333
className: PropTypes.string,
3434
renderAs: renderAsShape,
35-
colors: PropTypes.oneOf([null, '', ...Object.values(CONSTANTS.COLORS)]),
35+
color: PropTypes.oneOf([null, '', ...Object.values(CONSTANTS.COLORS)]),
3636
};
3737

3838
Panel.defaultProps = {

0 commit comments

Comments
 (0)