ReactNative中,如何动态设置 TextInput的高度,以便适配响应式页面布局?

千锋教育

使用<TextInput style={ [ { height:Math. max(40, this .state. height ) }]}/>。