【发布时间】:2022-01-21 10:27:24
【问题描述】:
我的占位符没有显示在我的文本输入中,有人可以帮助我吗? 我正在使用本机反应
<TextInput
style={{
height: "15%",
margin: 12,
border: 1,
borderColor: "white",
borderStyle: "solid",
placeholder: "this is a test",
padding: 10,
borderRadius: 20,
width: "70%",
backgroundColor: "#E5E5E5"
}}
></TextInput>;
【问题讨论】:
标签: javascript reactjs native placeholder textinput