react-native-wishlist
Version:
The fastest List component for React Native.
22 lines • 991 B
TypeScript
import type * as React from 'react';
import type { ViewProps } from 'react-native';
import type { DirectEventHandler, Double, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
import { NativeComponentType } from 'react-native/Libraries/Utilities/codegenNativeComponent';
export declare type EventInFile = Readonly<{
value: Double;
}>;
export interface WishlistProps extends ViewProps {
inflatorId: string;
initialIndex: Int32;
onStartReached?: DirectEventHandler<Readonly<{}>>;
onEndReached?: DirectEventHandler<Readonly<{}>>;
}
declare type NativeType = NativeComponentType<WishlistProps>;
export declare type ScrollToItem = (viewRef: React.ElementRef<NativeType>, index: Int32, animated: boolean) => void;
interface NativeCommands {
readonly scrollToItem: ScrollToItem;
}
export declare const Commands: NativeCommands;
declare const _default: NativeComponentType<WishlistProps>;
export default _default;
//# sourceMappingURL=WishlistNativeComponent.d.ts.map