(propsList, property)
| 195 | }; |
| 196 | |
| 197 | const getInnermostProperty = (propsList, property) => { |
| 198 | for (let i = propsList.length - 1; i >= 0; i--) { |
| 199 | const props = propsList[i]; |
| 200 | |
| 201 | if (props.hasOwnProperty(property)) { |
| 202 | return props[property]; |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | return null; |
| 207 | }; |
| 208 | |
| 209 | const reducePropsToState = propsList => ({ |
| 210 | baseTag: getBaseTagFromPropsList( |
no outgoing calls
no test coverage detected
searching dependent graphs…