(props)
| 56 | |
| 57 | class Collapse extends Component { |
| 58 | constructor(props) { |
| 59 | super(props); |
| 60 | |
| 61 | this.state = { |
| 62 | dimension: null, |
| 63 | }; |
| 64 | |
| 65 | this.nodeRef = props.innerRef || React.createRef(); |
| 66 | |
| 67 | ['onEntering', 'onEntered', 'onExit', 'onExiting', 'onExited'].forEach( |
| 68 | (name) => { |
| 69 | this[name] = this[name].bind(this); |
| 70 | }, |
| 71 | ); |
| 72 | } |
| 73 | |
| 74 | onEntering(_, isAppearing) { |
| 75 | const node = this.getNode(); |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…