()
| 150 | }) |
| 151 | |
| 152 | const usePositionContext = () => { |
| 153 | const context = React.useContext(PositionContext) |
| 154 | if (!context) |
| 155 | throw new Error(`[usePositionContext] must be used within a ${CONTENT_NAME} component.`) |
| 156 | return context |
| 157 | } |
| 158 | |
| 159 | type Boundary = Element | null |
| 160 |
no outgoing calls
no test coverage detected
searching dependent graphs…