import PropTypes from 'prop-types';

import optionShape from './optionShape';

export default PropTypes.arrayOf(
    PropTypes.oneOfType([
        optionShape,
        PropTypes.shape({
            label: PropTypes.node.isRequired,
            options: PropTypes.arrayOf(optionShape).isRequired,

            // Optional properties
            disabled: PropTypes.bool,
            title: PropTypes.title,
        }),
    ]),
);

@@ -392,21 +392,22 @@
 opTypes.
-title
+string
 ,%0A      

Fix `propType` check for `option.title`