UNPKG

react-native-indicate

Version:

Enhanced ScrollView with elements indicating scrollable overflow.

17 lines (16 loc) 443 B
import React from 'react'; import { ImageSourcePropType } from 'react-native'; type Dimensions = { width: number; height: number; }; type Props = { side: Side; show: boolean; width: number; view: Dimensions; gradient?: string | ImageSourcePropType; }; type Side = 'top' | 'right' | 'bottom' | 'left'; export declare const Fade: ({ side, show, width, view, gradient }: Props) => React.JSX.Element | null; export {};