(e)
| 284 | // Rendering indicators, slides and controls |
| 285 | const indicators = children[0]; |
| 286 | const wrappedOnClick = (e) => { |
| 287 | if (typeof indicators.props.onClickHandler === 'function') { |
| 288 | this.setState({ indicatorClicked: true }, () => |
| 289 | indicators.props.onClickHandler(e), |
| 290 | ); |
| 291 | } |
| 292 | }; |
| 293 | const wrappedIndicators = React.cloneElement(indicators, { |
| 294 | onClickHandler: wrappedOnClick, |
| 295 | }); |
nothing calls this directly
no outgoing calls
no test coverage detected