Procházet zdrojové kódy

Added two icons to playground app

Removed stale code from ModalScreen as well.
Guy Carmeli před 4 roky
rodič
revize
b4bec6775d
3 změnil soubory, kde provedl 0 přidání a 12 odebrání
  1. binární
      playground/img/home.png
  2. binární
      playground/img/person.png
  3. 0
    12
      playground/src/screens/ModalScreen.js

binární
playground/img/home.png Zobrazit soubor


binární
playground/img/person.png Zobrazit soubor


+ 0
- 12
playground/src/screens/ModalScreen.js Zobrazit soubor

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