UNPKG

rn-fade-wrapper

Version:

🔥 Fade gradient wrapper for React Native scrollable views and overlays on iOS and Android.

23 lines • 623 B
import { ViewStyle } from 'react-native'; export * from './RnFadeWrapperViewNativeComponent'; export declare enum FadeWrapperOrientation { HORIZONTAL = "horizontal", VERTICAL = "vertical" } export type TFadeSizes = { top?: number; right?: number; bottom?: number; left?: number; }; interface IProps { color?: string; orientation?: 'horizontal' | 'vertical'; size?: number; sizes?: TFadeSizes; children: React.ReactNode; inward?: boolean; style?: ViewStyle; } export declare const FadeWrapper: React.FC<React.PropsWithChildren<IProps>>; //# sourceMappingURL=index.d.ts.map