An open API service indexing awesome lists of open source software.

https://github.com/rxreactnative/react-native-rxdialog

A cross-platform dialog View component for React Native [ Alert、toash、sheet ... ]
https://github.com/rxreactnative/react-native-rxdialog

react-native react-native-web

Last synced: about 2 months ago
JSON representation

A cross-platform dialog View component for React Native [ Alert、toash、sheet ... ]

Awesome Lists containing this project

README

          

# react-native-rxdialog

## Getting started

`$ npm install react-native-rxdialog --save`

### support for custom UI(View)

example : -> https://github.com/RXReactNative/react-native-rxdialog-example


`演示 web` / `show web`
https://rxreactnative.github.io/react-native-rxdialog-example/


---

#### 框架默认支持
![srxboys](https://github.com/RXReactNative/react-native-rxdialog/blob/master/screen_img/1.png)
![srxboys](https://github.com/RXReactNative/react-native-rxdialog/blob/master/screen_img/2.png)

#### [ 二次开发 demo ( rxdialog-example ) ](https://github.com/RXReactNative/react-native-rxdialog-example)
![srxboys](https://github.com/RXReactNative/react-native-rxdialog/blob/master/screen_img/3.png)
![srxboys](https://github.com/RXReactNative/react-native-rxdialog/blob/master/screen_img/4.png)
![srxboys](https://github.com/RXReactNative/react-native-rxdialog/blob/master/screen_img/5.png)



## Usage
```javascript
import {
RXDialogTopView,

RXAlert,

RXDialog,

RXAnimation,
RXAlertAnimation,
RXFadeAnimation,
RXScaleAnimation,
RXSlideAnimation,

PlatformType,
DeviceWidth,
DeviceHeight,

ISIphone,
ISIphoneX,
ISAndroid,

IFIphone,
IFIphoneX,
} from 'react-native-rxdialog';

// TODO: What to do with the Dialog?
RXDialog;
RXDialogTopView;
RXAnimation;
```