From 2ea5db8ea6f583249efc080297eb545d27b9d479 Mon Sep 17 00:00:00 2001 From: mcmhav Date: Mon, 4 Sep 2017 15:57:09 +0200 Subject: [PATCH 1/2] add textProps-option --- lib/ToastContainer.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/ToastContainer.js b/lib/ToastContainer.js index 4d9bebe..4c127fd 100644 --- a/lib/ToastContainer.js +++ b/lib/ToastContainer.js @@ -86,7 +86,8 @@ class ToastContainer extends Component { onHide: PropTypes.func, onHidden: PropTypes.func, onShow: PropTypes.func, - onShown: PropTypes.func + onShown: PropTypes.func, + textProps: PropTypes.object }; static defaultProps = { @@ -219,11 +220,14 @@ class ToastContainer extends Component { pointerEvents="none" ref={ele => this._root = ele} > - + {this.props.children} From c07d4bcd8fb113424454ea5687770b27dd90d7f0 Mon Sep 17 00:00:00 2001 From: mcmhav Date: Thu, 14 Sep 2017 17:09:58 +0200 Subject: [PATCH 2/2] use zepp-root-siblings --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 106a169..83585c0 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "focus" ], "dependencies": { - "react-native-root-siblings": "^1.2.1", + "react-native-root-siblings": "https://github.com/zeppelin-no/react-native-root-siblings.git", "prop-types": "^15.5.10" } }