UNPKG

@quidone/react-native-wheel-picker

Version:

Picker is a UI component for selecting an item from a list of options.

9 lines 868 B
import React, { type ComponentType } from 'react'; import type { ScrollViewProps } from 'react-native'; type ComponentProps = Pick<ScrollViewProps, 'onScrollBeginDrag' | 'onScrollEndDrag' | 'onMomentumScrollBegin' | 'onMomentumScrollEnd'>; type ExtendProps<PropsT> = PropsT & { onScrollEnd?: () => void; }; declare const withScrollEndEvent: <PropsT extends ComponentProps>(Component: React.ComponentType<PropsT>) => React.MemoExoticComponent<React.ForwardRefExoticComponent<React.PropsWithoutRef<ExtendProps<PropsT>> & React.RefAttributes<(React.PropsWithoutRef<PropsT> & React.RefAttributes<React.Component<PropsT, any, any>> extends React.RefAttributes<infer Method> ? Method : never) | (React.PropsWithRef<PropsT> extends React.RefAttributes<infer Method> ? Method : never)>>>; export default withScrollEndEvent; //# sourceMappingURL=withScrollEndEvent.d.ts.map