Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/editablejs/editable
/ scroll-area.tsx
File
scroll-area.tsx
packages/ui/src/scroll-area.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import * as React from
'react'
2
import tw, { css } from
'twin.macro'
3
import { useComposedRefs } from
'./compose-refs'
4
import { useDirection } from
'./direction'
Callers
nothing calls this directly
Calls
15
useComposedRefs
Function · 0.90
useDirection
Function · 0.90
useStateMachine
Function · 0.90
composeEventHandlers
Function · 0.90
useCallbackRef
Function · 0.90
useScrollAreaContext
Function · 0.85
useDebounceCallback
Function · 0.85
send
Function · 0.85
useResizeObserver
Function · 0.85
getThumbRatio
Function · 0.85
getThumbOffsetFromScroll
Function · 0.85
getScrollPosition
Function · 0.85
Tested by
no test coverage detected