0.0.1 • Published 7 years ago
react-native-confirm v0.0.1
The react-native-confirm
- react native confirm component for both Android and iOS based on pure JavaScript
Main
- This component provide some more functions besides the basic Modal RN provided
Properties
- Besides the basic properties RN provided, we also provide belows:
Properties
Prop | Default | Type | Description |
---|---|---|---|
title | - | string | Specify the title of the confirm |
text | - | string | Specify the text you want to show in the content |
content | - | node | Support you custome your own content |
comment | - | string | Specify the comment in the input |
commentRequired | false | bool | If you must type sth in the input |
disableCancel | false | bool | Do not show the cancel button |
confirmText | '确定' | string | Specify the text of the confirm button |
cancelText | '取消' | string | Specify the text of the cancel button |
0.0.1
7 years ago