[Fix]:prop-types
: handle component returning null
#2696
Merged
prop-types
: handle component returning null
#2696