()
| 192 | } |
| 193 | |
| 194 | function open() { |
| 195 | if (typeof props.onOpen === 'function') { |
| 196 | props.onOpen(); |
| 197 | } else { |
| 198 | toggleMenu(); |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | function close() { |
| 203 | if (typeof props.onClose === 'function') { |
nothing calls this directly
no test coverage detected