Browse Source

Added two icons to playground app

Removed stale code from ModalScreen as well.
Guy Carmeli 4 years ago
parent
commit
b4bec6775d
3 changed files with 0 additions and 12 deletions
  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 View File


BIN
playground/img/person.png View File


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

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
   render() {
37
   render() {
50
     return (
38
     return (
51
       <Root componentId={this.props.componentId} footer={`Modal Stack Position: ${this.getModalPosition()}`}>
39
       <Root componentId={this.props.componentId} footer={`Modal Stack Position: ${this.getModalPosition()}`}>