UNPKG

react-native-modalize-x2

Version:

A highly customizable modal/bottom sheet that loves scrolling content.

11 lines (10 loc) 666 B
/** * esModuleInterop: true looks to work everywhere except * on snack.expo for some reason. Will revisit this later. */ import * as React from 'react'; import { IProps, IHandles } from './options'; export declare type ModalizeProps = IProps; export declare type Modalize = IHandles; export declare const Modalize: React.ForwardRefExoticComponent<IProps<any> & React.RefAttributes<string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | React.ReactNodeArray | React.ReactPortal | undefined>>; export * from './utils/use-modalize';