Browse Source

Add missing params for showInAppNotification (#1707)

* Add font family support on bottom tabs

* import missing classes

* import missing class

* update document

* Support customize icon for left nav button in android

* Add navBar navBarTextFontSize support for android

* Add missing parameter instruction for in app notification

* Merge changes as origin master
Jing Tai Piao 7 years ago
parent
commit
8ce9dac657
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      docs/screen-api.md

+ 1
- 0
docs/screen-api.md View File

125
 this.props.navigator.showInAppNotification({
125
 this.props.navigator.showInAppNotification({
126
  screen: "example.InAppNotification", // unique ID registered with Navigation.registerScreen
126
  screen: "example.InAppNotification", // unique ID registered with Navigation.registerScreen
127
  passProps: {}, // simple serializable object that will pass as props to the in-app notification (optional)
127
  passProps: {}, // simple serializable object that will pass as props to the in-app notification (optional)
128
+ autoDismissTimerSec: 1 // auto dismiss notification in seconds
128
 });
129
 });
129
 ```
130
 ```
130
 
131