react-native-toast-message
Version:
Toast message component for React Native
13 lines (12 loc) • 444 B
TypeScript
import React from 'react';
import { ReactChildren } from '../types';
export declare type GestureContextType = {
panning: React.MutableRefObject<boolean>;
};
export declare type GestureProviderProps = {
children: ReactChildren;
panning?: boolean;
};
declare function GestureProvider({ children, panning }: GestureProviderProps): JSX.Element;
declare function useGesture(): GestureContextType;
export { GestureProvider, useGesture };