[fix] add 'State' static to 'TextInput'

Fix #365
Close #366
This commit is contained in:
Li Hau Tan
2017-02-17 10:21:03 +08:00
committed by Nicolas Gallagher
parent bb417900a9
commit 75042093c2

View File

@@ -100,6 +100,8 @@ class TextInput extends Component {
style: emptyObject
};
static State = TextInputState;
blur() {
TextInputState.blurTextInput(this._node);
}