From 817274be56ae6520f4f72279d57a1b9280f4052d Mon Sep 17 00:00:00 2001 From: "dave.snider@gmail.com" Date: Fri, 4 Aug 2017 09:49:48 -0700 Subject: [PATCH] Fix sidenav component prop from string to bool (#13344) --- ui_framework/src/components/side_nav/side_nav.js | 2 +- ui_framework/src/components/side_nav/side_nav_item.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui_framework/src/components/side_nav/side_nav.js b/ui_framework/src/components/side_nav/side_nav.js index ed55543170aec..1f06e9c992874 100644 --- a/ui_framework/src/components/side_nav/side_nav.js +++ b/ui_framework/src/components/side_nav/side_nav.js @@ -39,7 +39,7 @@ export const KuiSideNav = ({ children, isOpenMobile, className, ...rest }) => { }; KuiSideNav.propTypes = { - isOpenMobile: PropTypes.string, + isOpenMobile: PropTypes.bool, }; KuiSideNav.defaultProps = { diff --git a/ui_framework/src/components/side_nav/side_nav_item.js b/ui_framework/src/components/side_nav/side_nav_item.js index 97ee8821d13d0..e1cf914d39dbb 100644 --- a/ui_framework/src/components/side_nav/side_nav_item.js +++ b/ui_framework/src/components/side_nav/side_nav_item.js @@ -23,5 +23,5 @@ export const KuiSideNavItem = ({ children, isSelected, className, ...rest }) => }; KuiSideNavItem.propTypes = { - isSelected: PropTypes.string, + isSelected: PropTypes.bool, };