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 26, 2017
1 parent bca9907 commit e1716b6
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
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
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 e1716b6

Please sign in to comment.