diff --git a/lib/create-icon-set-from-fontawesome5.js b/lib/create-icon-set-from-fontawesome5.js index 437ede40c..e7cfd4156 100644 --- a/lib/create-icon-set-from-fontawesome5.js +++ b/lib/create-icon-set-from-fontawesome5.js @@ -137,10 +137,13 @@ export function createFA5iconSet(glyphMap, metadata = {}, proVersion = false) { function createFA5iconClass(baseClass, selectClass = iconSet => iconSet) { class FA5iconClass extends PureComponent { - static propTypes = Object.create(baseClass.propTypes, { - light: PropTypes.bool, - solid: PropTypes.bool, - }); + static propTypes = [ + baseClass.propTypes, + { + light: PropTypes.bool, + solid: PropTypes.bool, + }, + ]; static defaultProps = { light: false,