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
Post a Comment