function reportUnusedPropType(component,props){// Skip props that check instances
if(props===true){return;}(props||[]).forEach(function(prop){// Skip props that check instances
if(prop===true){return;}if(prop.node&&!isPropUsed(component,prop)){context.report(prop.node,UNUSED_MESSAGE,{name:prop.fullName});}if(prop.children){reportUnusedPropType(component,prop.children);}});}
Used to recursively loop through each declared prop type
@param {Object} component The component to process
@param {Array} props List of props to validate