Guy Carmeli 8 年之前
父節點
當前提交
64ad026b18
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      example-redux/src/screens/LoginScreen.js

+ 1
- 2
example-redux/src/screens/LoginScreen.js 查看文件

@@ -47,8 +47,7 @@ class LoginScreen extends Component {
47 47
           <Text style={styles.button}>Show another login as modal</Text>
48 48
         </TouchableOpacity>
49 49
 
50
-        {/* TODO: Uncomment when fixed -guyca */}
51
-        {/*<Text style={{fontWeight: '500'}}>Function prop: {this.props.fn()}</Text> */}
50
+        <Text style={{fontWeight: '500'}}>Function prop: {this.props.fn()}</Text>
52 51
         <Text style={{fontWeight: '500'}}>String prop: {this.props.str}</Text>
53 52
         <Text style={{fontWeight: '500'}}>Number prop: {this.props.num}</Text>
54 53
         <Text style={{fontWeight: '500'}}>Object prop: {this.props.obj.str}</Text>