()
| 49 | const ScrollAreaContext = React.createContext<ScrollAreaContextValue>(null as any) |
| 50 | |
| 51 | const useScrollAreaContext = () => { |
| 52 | const context = React.useContext(ScrollAreaContext) |
| 53 | if (context === null) { |
| 54 | throw new Error(`${SCROLL_AREA_NAME}: context is null`) |
| 55 | } |
| 56 | return context |
| 57 | } |
| 58 | |
| 59 | type ScrollAreaElement = React.ElementRef<typeof Root.div> |
| 60 | type PrimitiveDivProps = React.ComponentPropsWithoutRef<typeof Root.div> |
no outgoing calls
no test coverage detected
searching dependent graphs…