From 5d5d544abc511eda9e6164c9a2833f99d8cc98be Mon Sep 17 00:00:00 2001 From: Sam Doyle Date: Thu, 4 Jul 2019 13:02:42 -0400 Subject: [PATCH] add onRef prop to Input component for passing ref to rn text input --- src/Input.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Input.js b/src/Input.js index 66316c9..48c36a1 100644 --- a/src/Input.js +++ b/src/Input.js @@ -22,6 +22,7 @@ class Input extends React.Component { render() { const { + onRef, style, type, password, @@ -96,6 +97,7 @@ class Input extends React.Component { {left && !right && iconInstance}