-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
95 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
139 changes: 93 additions & 46 deletions
139
react-modal/resources/cljsjs/react-modal/common/react-modal.ext.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,97 @@ | ||
/********************************************************************** | ||
* Extern for ReactModal | ||
* Generated by http://jmmk.github.io/javascript-externs-generator | ||
**********************************************************************/ | ||
var ReactModal = { | ||
"Modal": { | ||
"propTypes": { | ||
"isOpen": { | ||
"isRequired": function () {} | ||
}, | ||
"onAfterOpen": { | ||
"isRequired": function () {} | ||
}, | ||
"style": { | ||
"isRequired": function () {} | ||
}, | ||
"onRequestClose": { | ||
"isRequired": function () {} | ||
}, | ||
"closeTimeoutMS": { | ||
"isRequired": function () {} | ||
}, | ||
"shouldCloseOnOverlayClick": { | ||
"isRequired": function () {} | ||
}, | ||
"contentLabel": { | ||
"isRequired": function () {} | ||
}, | ||
}, | ||
"defaultProps": { | ||
"isActive": {}, | ||
"onAfterOpen": function () {}, | ||
"style": {}, | ||
"onRequestClose": function () {}, | ||
"closeTimeoutMS": {}, | ||
"shouldCloseOnOverlayClick": {}, | ||
"contentLabel": {}, | ||
}, | ||
"defaultProps": { | ||
"ariaHideApp": {}, | ||
"bodyOpenClassName": {}, | ||
"closeTimeoutMS": {}, | ||
"isOpen": {}, | ||
"parentSelector": function () {}, | ||
"portalClassName": {}, | ||
"shouldCloseOnOverlayClick": {}, | ||
"shouldFocusAfterRender": {} | ||
}, | ||
"defaultStyles": { | ||
"content": { | ||
"WebkitOverflowScrolling": {}, | ||
"background": {}, | ||
"border": {}, | ||
"borderRadius": {}, | ||
"bottom": {}, | ||
"left": {}, | ||
"outline": {}, | ||
"overflow": {}, | ||
"padding": {}, | ||
"position": {}, | ||
"right": {}, | ||
"top": {} | ||
}, | ||
"overlay": { | ||
"backgroundColor": {}, | ||
"bottom": {}, | ||
"left": {}, | ||
"position": {}, | ||
"right": {}, | ||
"top": {} | ||
} | ||
}, | ||
"propTypes": { | ||
"appElement": { | ||
"isRequired": function () {} | ||
}, | ||
"aria": { | ||
"isRequired": function () {} | ||
}, | ||
"ariaHideApp": { | ||
"isRequired": function () {} | ||
}, | ||
"bodyOpenClassName": { | ||
"isRequired": function () {} | ||
}, | ||
"className": { | ||
"isRequired": function () {} | ||
}, | ||
"closeTimeoutMS": { | ||
"isRequired": function () {} | ||
}, | ||
"contentLabel": function () {}, | ||
"isOpen": function () {}, | ||
"onAfterOpen": { | ||
"isRequired": function () {} | ||
}, | ||
"onRequestClose": { | ||
"isRequired": function () {} | ||
}, | ||
"overlayClassName": { | ||
"isRequired": function () {} | ||
}, | ||
"parentSelector": { | ||
"isRequired": function () {} | ||
}, | ||
"portalClassName": { | ||
"isRequired": function () {} | ||
}, | ||
"role": { | ||
"isRequired": function () {} | ||
}, | ||
"shouldCloseOnOverlayClick": { | ||
"isRequired": function () {} | ||
}, | ||
"shouldFocusAfter": { | ||
"isRequired": function () {} | ||
}, | ||
"style": { | ||
"isRequired": function () {} | ||
} | ||
} | ||
}; | ||
|
||
|
||
ReactModal.Modal.prototype = { | ||
"isReactComponent": function () {}, | ||
"setState": function () {}, | ||
"forceUpdate": function () {} | ||
}; | ||
|
||
|
||
ReactModal.default.prototype = { | ||
"isReactComponent": function () {}, | ||
"setState": function () {}, | ||
"forceUpdate": function () {} | ||
ReactModal.prototype = { | ||
"forceUpdate": function () {}, | ||
"isReactComponent": function () {}, | ||
"setState": function () {} | ||
}; | ||
/********************************************************************** | ||
* End Generated Extern for ReactModal | ||
/**********************************************************************/ |