halilb / react-native-textinput-effects

Text inputs with custom label and icon animations for iOS and android. Built with react native and inspired by Codrops.
MIT License
2.99k stars 293 forks source link

textInput Compenent from react-native does not work #10

Closed Talkwondo closed 8 years ago

Talkwondo commented 8 years ago

Hello, Thank for you great compenent. but please explain what do you think about the subject <Kohana placeholder="Email" placeholderTextColor="rgba(0,0,0,0.2)" keyboardType="email-address" selectionColor="#4c8af0" style={styles.input} autoFocus={true} autoCapitalize="none" autoCorrect={false} onChangeType={(email) => this.email = email} returnKeyType="next" onSubmitEditing={() => this._passwordRef.focus()} />

i got

screen shot 2016-09-04 at 8 51 23 pm
halilb commented 8 years ago

Thanks for reporting @Talkwondo.

This problem might be related to importing the library. Can you check your import statement? It should look like this:

import {
  Kohana,
} from 'react-native-textinput-effects';

I'm closing the issue but let me know if the problem isn't fixed!

Talkwondo commented 8 years ago

OK I got it. it is work. the problem is that i used textinput props on the component.