我可以为TouchableOpacity组件应用禁用样式吗?
<TouchableOpacity style={styles.buttonWrapper }
onPress={this.userLogin.bind(this)}
disabled={ !this.state.username || !this.state.password }>
<Text style={styles.buttonText}> Login </Text>
</TouchableOpacity>
Run Code Online (Sandbox Code Playgroud) 我是红宝石和铁轨的新手。我正在Windows 10上工作。Rails服务器从tcp://0.0.0.0:3000而不是http:// localhost:3000开始。我正在使用以下命令。
rails server
Run Code Online (Sandbox Code Playgroud)