File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,21 @@ npm install connectsdk-reactnative
1212
1313
1414``` js
15- import { ConnectsdkReactnativeView } from " connectsdk-reactnative" ;
15+ import { ConnectButton } from ' connectsdk-reactnative' ;
1616
1717// ...
18-
19- < ConnectsdkReactnativeView color= " tomato" / >
18+ < ConnectButton
19+ connectionId= {' <The Id of the connection that should be displayed. Example: >' }
20+ suggestedUserEmail= {' <An email address corresponding to the user that is logged in.>' }
21+ redirectURL= {' <The redirect URL to use when invoking your iOS app after a service is connected. Example: connectsdktestapp://connect_callback' }
22+ skipConnectionConfiguration= {false } // Whether or not connection configuration should be skipped.
23+ onActivationSuccess= {onActivationSuccess} // Callback for Connection activation success
24+ onActivationFailure= {onActivationFailure} // Callback for Connection activation failure
25+ onDeactivationSuccess= {onDeactivationSuccess} // Callback for Connection deactivation success
26+ onDeactivationFailure= {onDeactivationFailure} // Callback for Connection deactivation failure
27+ / >
2028```
2129
22-
2330## Contributing
2431
2532See the [ contributing guide] ( CONTRIBUTING.md ) to learn how to contribute to the repository and the development workflow.
You can’t perform that action at this time.
0 commit comments