We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bf6562 commit b78fcd3Copy full SHA for b78fcd3
index.js
@@ -1,5 +1,3 @@
1
-'use strict';
2
-
3
import React, { Component, PropTypes } from 'react';
4
5
import {
@@ -125,6 +123,7 @@ class Modal extends Component {
125
123
Modal.propTypes = {
126
124
open: PropTypes.bool,
127
offset: PropTypes.number,
+ overlayBackground: PropTypes.object,
128
animationDuration: PropTypes.number,
129
animationTension: PropTypes.number,
130
modalDidOpen: PropTypes.func,
@@ -163,10 +162,10 @@ const styles = StyleSheet.create({
163
162
backgroundColor: '#F5F5F5'
164
},
165
hidden: {
166
- top: -10000,
167
- left: 0,
168
- height: 0,
169
- width: 0
+ top: -10000,
+ left: 0,
+ height: 0,
+ width: 0
170
}
171
});
172
0 commit comments