소스 검색

Added two icons to playground app

Removed stale code from ModalScreen as well.
Guy Carmeli 5 년 전
부모
커밋
b4bec6775d
3개의 변경된 파일0개의 추가작업 그리고 12개의 파일을 삭제
  1. BIN
      playground/img/home.png
  2. BIN
      playground/img/person.png
  3. 0
    12
      playground/src/screens/ModalScreen.js

BIN
playground/img/home.png 파일 보기


BIN
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()}`}>