(new_state: boolean)
| 55 | }) |
| 56 | |
| 57 | const onChange = (new_state: boolean): void => { |
| 58 | if (!is_touch && mounted && state !== new_state) { |
| 59 | handle(state = new_state) |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | return { |
| 64 | onMouseEnter: () => onChange(true), |
no outgoing calls
no test coverage detected
searching dependent graphs…