Skip to content

Commit 4da3c86

Browse files
author
alvaromb
committed
Added factory as Textbox extension
1 parent a70078e commit 4da3c86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FloatingLabel.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import React, { Text, TextInput, View, Animated } from 'react-native'
22
import t from 'tcomb-form-native'
33

4-
const Component = t.form.Component
4+
const Textbox = t.form.Textbox
55

6-
class FloatingLabel extends Component {
6+
class FloatingLabel extends Textbox {
77
constructor (props) {
88
super(props)
99
this.state = {

0 commit comments

Comments
 (0)