(props)
| 25 | |
| 26 | class UncontrolledCollapse extends Component { |
| 27 | constructor(props) { |
| 28 | super(props); |
| 29 | |
| 30 | this.togglers = null; |
| 31 | this.removeEventListeners = null; |
| 32 | this.toggle = this.toggle.bind(this); |
| 33 | |
| 34 | this.state = { isOpen: props.defaultOpen || false }; |
| 35 | } |
| 36 | |
| 37 | componentDidMount() { |
| 38 | this.togglers = findDOMElements(this.props.toggler); |
nothing calls this directly
no outgoing calls
no test coverage detected