reactivebase
reactivebase copied to clipboard
Inconsistency between `types` and `propTypes`
In cases, when PropTypes.oneOf is used, the type specifies only a single type.
Component.propTypes = {
title: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.element
])
}
Component.types = {
title: TYPES.STRING
}
Update: We will come back to this issue when we start working with Reactive Apps. Right now, this doesn't affect any of the libraries.