javascript - react-native TextInput placeholder not visible -


i'm make simple screen contains 1 textinput placeholder, placeholder on displayed. wrong?

mycomponent:

render() {   <textinput     placeholder="placeholder"   /> } 

index.js:

export default () => {   <mycomponent /> } 

wrapping textinput view don't help.

looks misspelled prop placeholder placeholder. see https://facebook.github.io/react-native/docs/textinput.html#placeholder.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -