Package Exports
- react-native-dialog
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-dialog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-native-dialog
A flexible react-native dialog.
Features
WIP
Demo
WIP
Setup
WIP
Usage
WIP
A complete example
WIP
Available props
Dialog.Button props
Name | Type | Default | Description |
---|---|---|---|
label | string | REQUIRED | The label text |
color | string | #007ff9 on iOS, #169689 on Android |
The label color |
bold | bool | false | Show the label with bold font weight? |
disabled | bool | false | Disable the button? |
onPress | func | REQUIRED | Called when the button is pressed |
Dialog.Description props
Name | Type | Default | Description |
---|---|---|---|
children | string | REQUIRED | The description text |
Dialog.Container props
Name | Type | Default | Description |
---|---|---|---|
visible | bool | REQUIRED | Show the dialog? |
children | node | REQUIRED | The dialog content |
Dialog.Input props
Name | Type | Default | Description |
---|---|---|---|
wrapperStyle | any | undefined | The style applied to the input wrapper View |
Dialog.Title props
Name | Type | Default | Description |
---|---|---|---|
children | string | REQUIRED | The title text |
Frequently Asked Questions
WIP