瀏覽代碼

Added two icons to playground app

Removed stale code from ModalScreen as well.
Guy Carmeli 4 年之前
父節點
當前提交
b4bec6775d
共有 3 個檔案被更改,包括 0 行新增12 行删除
  1. 二進制
      playground/img/home.png
  2. 二進制
      playground/img/person.png
  3. 0
    12
      playground/src/screens/ModalScreen.js

二進制
playground/img/home.png 查看文件


二進制
playground/img/person.png 查看文件


+ 0
- 12
playground/src/screens/ModalScreen.js 查看文件

@@ -34,18 +34,6 @@ class ModalScreen extends React.Component {
34 34
     };
35 35
   }
36 36
 
37
-  state = {
38
-    dimissCounter: 0,
39
-  }
40
-
41
-  componentDidMount() {
42
-    Navigation.events().bindComponent(this);
43
-  }
44
-
45
-  modalAttemptedToDismiss() {
46
-    return this.setState(state => ({ dimissCounter: state.dimissCounter + 1 }))
47
-  }
48
-
49 37
   render() {
50 38
     return (
51 39
       <Root componentId={this.props.componentId} footer={`Modal Stack Position: ${this.getModalPosition()}`}>