@janiscommerce/ui-native
Version:
components library for Janis app
12 lines (11 loc) • 891 B
TypeScript
import React, { EffectCallback, DependencyList, JSX } from 'react';
import { BottomSheetFlatListMethods, BottomSheetScrollViewMethods, BottomSheetScrollableProps } from '@gorhom/bottom-sheet';
import { FlatListProps, ScrollViewProps, ViewProps } from 'react-native';
interface BottomSheetFocusProps {
focusHook?: (effect: EffectCallback, deps?: DependencyList) => void;
}
type SwipeUpViewProps = ViewProps & BottomSheetFocusProps;
export declare const SwipeUpFlatList: React.ForwardRefExoticComponent<FlatListProps<unknown> & BottomSheetScrollableProps & React.RefAttributes<BottomSheetFlatListMethods>>;
export declare const SwipeUpScrollView: React.ForwardRefExoticComponent<ScrollViewProps & BottomSheetScrollableProps & React.RefAttributes<BottomSheetScrollViewMethods>>;
export declare const SwipeUpView: ({ children, ...props }: SwipeUpViewProps) => JSX.Element | null;
export {};