Skip to content

Commit d5c9855

Browse files
committed
Support for RN>=0.25
1 parent 1c527fc commit d5c9855

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

FloatingLabel.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import React, {
1+
import React from 'react';
2+
import {
3+
StyleSheet,
24
Text,
35
TextInput,
46
View,
@@ -153,7 +155,7 @@ class FloatingLabel extends Textbox {
153155
}
154156
}
155157

156-
const styles = React.StyleSheet.create({
158+
const styles = StyleSheet.create({
157159
textInput: {
158160
height: 40,
159161
}

0 commit comments

Comments
 (0)