UNPKG

react-native-ui-lib

Version:

<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a

22 lines (21 loc) 1.26 kB
{ "name": "Dialog", "category": "incubator", "description": "Component for displaying custom content inside a popup dialog", "note": "Use alignment modifiers to control the dialog position (top, bottom, centerV, centerH, etc... by default the dialog is aligned to center)", "modifiers": ["alignment"], "example": "https://github.com/wix/react-native-ui-lib/blob/master/demo/src/screens/incubatorScreens/IncubatorDialogScreen.js", "props": [ {"name": "visible", "type": "boolean", "description": "The visibility of the dialog"}, {"name": "onDismiss", "type": "(props?: ImperativeDialogProps) => void", "description": "Callback that is called after the dialog's dismiss (after the animation has ended)."}, { "name": "direction", "type": "up | down | left | right", "description": "The direction from which and to which the dialog is animating \\ panning (default bottom).", "default": "down" }, {"name": "ignoreBackgroundPress", "type": "boolean", "description": "Whether or not to ignore background press."}, {"name": "modalProps", "type": "ModalProps", "description": "Pass props to the dialog modal"}, {"name": "testID", "type": "string", "description": "Used as a testing identifier"} ] }