UNPKG

@kietpt2003/react-native-core-ui

Version:
13 lines 633 B
import React from "react"; type Props<T> = { activeKey: string | null; keyExtractor: (item: T, index: number) => string; horizontal: boolean; layoutAnimationDisabled: boolean; children: React.ReactNode; }; type DraggableFlatListContextValue<T> = Omit<Props<T>, "children">; export default function DraggableFlatListProvider<T>({ activeKey, keyExtractor, horizontal, layoutAnimationDisabled, children, }: Props<T>): import("react/jsx-runtime").JSX.Element; export declare function useDraggableFlatListContext<T>(): DraggableFlatListContextValue<T>; export {}; //# sourceMappingURL=draggableFlatListContext.d.ts.map