closeDrawer: (props, propName, component) => { removed(props, propName); const { PERSISTENT, PERSISTENT_MINI } = NavigationDrawer.DrawerType; const { drawerType } = props; if(drawerType !== PERSISTENT && drawerType !== PERSISTENT_MINI) { return; } return PropTypes.func.isRequired(props, propName, component) || PropTypes.string(props, 'closeIconClassName', component) || PropTypes.node(props, 'closeIconChildren', component); },
containerClassName: (props, propName, component) => { deprecate(props, propName, component, 'className'); return PropTypes.string(props, propName, component); },
title: (props, propName, component) => { deprecate(props, propName, component, 'drawerTitle'); return PropTypes.string(props, propName, component); },