(tagRef)
| 109 | }; |
| 110 | |
| 111 | const handleRef = (tagRef) => { |
| 112 | // Send the ref to `react-popper` |
| 113 | ref(tagRef); |
| 114 | // Send the ref to the parent Dropdown so that clicks outside |
| 115 | // it will cause it to close |
| 116 | const { onMenuRef } = this.context; |
| 117 | if (onMenuRef) onMenuRef(tagRef); |
| 118 | }; |
| 119 | |
| 120 | return ( |
| 121 | <Tag |
nothing calls this directly
no test coverage detected
searching dependent graphs…