Issue
I'm make simple screen contains only one TextInput with placeholder, but placeholder on displayed. What is wrong?
MyComponent:
render() {
<TextInput
placeHolder="placeholder"
/>
}
index.js:
export default () => {
<MyComponent />
}
wrapping TextInput into View don't help.
Solution
Looks like you misspelled the prop placeholder
to placeHolder
. See https://facebook.github.io/react-native/docs/textinput.html#placeholder.
Answered By - Ferran Negre
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.