UNPKG

@ozen-ui/kit

Version:

React component library

11 lines (10 loc) 544 B
import type { RefObject } from 'react'; import type { DataListBaseOptionsStore } from '../useDataListBaseOptionsStore'; import type { DataListBaseValueControl } from '../useDataListBaseValue'; import type { DataListBaseScrollControl } from './types'; export declare const useDataListBaseScroll: ({ dataListRef, valueControl, active, optionsStore, }: { dataListRef: RefObject<HTMLElement>; valueControl: DataListBaseValueControl<boolean>; active: boolean; optionsStore: DataListBaseOptionsStore; }) => DataListBaseScrollControl;