From d5c9855de31d7be71ef759195b97ad228dc28508 Mon Sep 17 00:00:00 2001 From: Matthew Ager Date: Fri, 10 Jun 2016 15:27:36 +0200 Subject: [PATCH] Support for RN>=0.25 --- FloatingLabel.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/FloatingLabel.js b/FloatingLabel.js index a68033c..de89d69 100644 --- a/FloatingLabel.js +++ b/FloatingLabel.js @@ -1,4 +1,6 @@ -import React, { +import React from 'react'; +import { + StyleSheet, Text, TextInput, View, @@ -153,7 +155,7 @@ class FloatingLabel extends Textbox { } } -const styles = React.StyleSheet.create({ +const styles = StyleSheet.create({ textInput: { height: 40, }