We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a70078e commit 4da3c86Copy full SHA for 4da3c86
FloatingLabel.js
@@ -1,9 +1,9 @@
1
import React, { Text, TextInput, View, Animated } from 'react-native'
2
import t from 'tcomb-form-native'
3
4
-const Component = t.form.Component
+const Textbox = t.form.Textbox
5
6
-class FloatingLabel extends Component {
+class FloatingLabel extends Textbox {
7
constructor (props) {
8
super(props)
9
this.state = {
0 commit comments