(props)
| 7 | |
| 8 | class Helper extends React.Component { |
| 9 | constructor(props) { |
| 10 | super(props); |
| 11 | this.toggle = this.toggle.bind(this); |
| 12 | this.state = { |
| 13 | showItem: props.showItem, |
| 14 | }; |
| 15 | } |
| 16 | |
| 17 | toggle() { |
| 18 | this.setState((prevState) => ({ |
nothing calls this directly
no outgoing calls
no test coverage detected