Skip to content

Commit

Permalink
Fix sidenav component prop from string to bool (elastic#13344)
Browse files Browse the repository at this point in the history
  • Loading branch information
snide authored and cjcenizal committed Aug 16, 2017
1 parent 4976fc6 commit 817274b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui_framework/src/components/side_nav/side_nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const KuiSideNav = ({ children, isOpenMobile, className, ...rest }) => {
};

KuiSideNav.propTypes = {
isOpenMobile: PropTypes.string,
isOpenMobile: PropTypes.bool,
};

KuiSideNav.defaultProps = {
Expand Down
2 changes: 1 addition & 1 deletion ui_framework/src/components/side_nav/side_nav_item.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ export const KuiSideNavItem = ({ children, isSelected, className, ...rest }) =>
};

KuiSideNavItem.propTypes = {
isSelected: PropTypes.string,
isSelected: PropTypes.bool,
};

0 comments on commit 817274b

Please sign in to comment.