Sfoglia il codice sorgente

Added two icons to playground app

Removed stale code from ModalScreen as well.
Guy Carmeli 4 anni fa
parent
commit
b4bec6775d

BIN
playground/img/home.png Vedi File


BIN
playground/img/person.png Vedi File


+ 0
- 12
playground/src/screens/ModalScreen.js Vedi File

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