We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
In the following example, no-unused-prop-types will flag a non-use of arrayOfObjWithFoo.*.foo:
static PropTypes = { arrayOfObjWithFoo: PropTypes.arrayOf( PropTypes.shape({ foo: PropTypes.string.isRequired }) ).isRequired }; render() { const fooItems = this.props.arrayOfObjWithFoo.map(objWithFoo => { <Item foo={objWithFoo.foo} /> }); }