From 287e26fee1137315ebf6cb723a8fecaf14dd5665 Mon Sep 17 00:00:00 2001 From: guillaume rean Date: Fri, 31 Aug 2018 15:40:17 +0200 Subject: [PATCH] Add onLongPress prop for Row component. --- Components/Row.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Components/Row.js b/Components/Row.js index 1cb720d..807cc75 100644 --- a/Components/Row.js +++ b/Components/Row.js @@ -26,10 +26,9 @@ export default class RowNB extends Component { } render() { - if(this.props.onPress){ + if(this.props.onPress || this.props.onLongPress){ return( - + this._root = component} {...this.props}