@zag-js/scroll-area
Version:
Core logic for the scroll-area widget implemented as a state machine
7 lines (5 loc) • 318 B
text/typescript
import { createProps } from "@zag-js/types"
import { createSplitProps } from "@zag-js/utils"
import type { ScrollAreaProps } from "./scroll-area.types"
export const props = createProps<ScrollAreaProps>()(["dir", "getRootNode", "ids", "id"])
export const splitProps = createSplitProps<Partial<ScrollAreaProps>>(props)