From c389003eeb6fdaccf573aa6b39f01857e44e70c9 Mon Sep 17 00:00:00 2001 From: jacklam718 Date: Mon, 2 Sep 2019 14:48:34 +0800 Subject: [PATCH] Refactoring & update example app --- dist/Modal.js | 2 +- dist/components/Backdrop.js | 2 +- dist/components/BaseModal.js | 2 +- dist/components/BottomModal.js | 2 +- dist/components/DraggableView.js | 2 +- dist/components/ModalButton.js | 2 +- dist/components/ModalContent.js | 2 +- dist/components/ModalFooter.js | 2 +- dist/components/ModalTitle.js | 2 +- dist/type.js | 2 +- popup-dialog-example/App.js | 71 +- src/components/Backdrop.js | 4 +- src/components/BaseModal.js | 31 +- src/components/BottomModal.js | 34 +- src/components/DraggableView.js | 86 +- src/components/ModalButton.js | 23 +- src/components/ModalContent.js | 29 +- src/components/ModalContext.js | 2 +- src/components/ModalFooter.js | 63 +- src/components/ModalTitle.js | 15 +- src/type.js | 1 + yarn.lock | 1268 +++++++++++++++++++++++++----- 22 files changed, 1283 insertions(+), 364 deletions(-) diff --git a/dist/Modal.js b/dist/Modal.js index 996512a..561450d 100644 --- a/dist/Modal.js +++ b/dist/Modal.js @@ -1 +1 @@ -Object.defineProperty(exports,"__esModule",{value:true});var _extends=Object.assign||function(target){for(var i=1;i