We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f07ffbc + 6ae8b0c commit 333553aCopy full SHA for 333553a
docs/0.24/style.md
@@ -44,7 +44,7 @@ var styles = StyleSheet.create({
44
<View style={[styles.base, this.state.active && styles.active]} />
45
```
46
47
-最后,如果你坚持的话,你也可以在render方法中创建样式对象,但最好不要这样做(每次渲染都会被重复创建)。如果有多个样式,记得把这样动态创建的样式对象放到数组的最后。
+最后,如果你需要的话,你也可以在render方法中创建样式对象,但最好不要这样做(每次渲染都会被重复创建)。如果有多个样式,记得把这样动态创建的样式对象放到数组的最后。
48
49
```javascript
50
<View
0 commit comments