The declared type for prop textMessage is not correctly working with memoized components supplied as prop for textMessage.
The most proper type should be PropTypes.element instead of PropTypes.func.
Additionally, bottom could be set more specifically instead of just declaring them as object.
Solving issue #91.
The declared type for prop
textMessage
is not correctly working with memoized components supplied as prop fortextMessage
. The most proper type should bePropTypes.element
instead ofPropTypes.func
.Additionally,
bottom
could be set more specifically instead of just declaring them as object.