import type { UseListBasicReturn } from '../types'; export type UseListCommonProps = { /** * Callback notification when visible items change. */ onVisibleItems?: (items: ItemT[]) => void; /** * enable refresh. * * default: false */ enableRefresh?: boolean; /** * enable more. * * default: true */ enableMore?: boolean; onInit?: () => void; onUnInit?: () => void; }; export type UseListBasicProps = UseListBasicReturn & UseListCommonProps;