From c0ad25715bc050dac0134ccd46f25884396d0f87 Mon Sep 17 00:00:00 2001
From: Matthew Shao <me@matshao.com>
Date: Wed, 28 Jun 2017 18:48:31 +0800
Subject: [web] Add Modal Component and OptionModal

---
 web/src/js/components/Modal/ModalList.jsx | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 web/src/js/components/Modal/ModalList.jsx

(limited to 'web/src/js/components/Modal/ModalList.jsx')

diff --git a/web/src/js/components/Modal/ModalList.jsx b/web/src/js/components/Modal/ModalList.jsx
new file mode 100644
index 00000000..41b36f00
--- /dev/null
+++ b/web/src/js/components/Modal/ModalList.jsx
@@ -0,0 +1,3 @@
+import OptionModal from './OptionModal'
+
+export default [ OptionModal, EmptyModal ]
-- 
cgit v1.2.3


From febfeb9ef2bd9c412590c489e12f393f183b9a82 Mon Sep 17 00:00:00 2001
From: Matthew Shao <me@matshao.com>
Date: Wed, 28 Jun 2017 21:48:22 +0800
Subject: [web] Minor update for Modal Component.

---
 web/src/js/components/Modal/ModalList.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'web/src/js/components/Modal/ModalList.jsx')

diff --git a/web/src/js/components/Modal/ModalList.jsx b/web/src/js/components/Modal/ModalList.jsx
index 41b36f00..8ba46b00 100644
--- a/web/src/js/components/Modal/ModalList.jsx
+++ b/web/src/js/components/Modal/ModalList.jsx
@@ -1,3 +1,3 @@
 import OptionModal from './OptionModal'
 
-export default [ OptionModal, EmptyModal ]
+export default [ OptionModal ]
-- 
cgit v1.2.3


From 7baf3069b169e8196e5d389e655a3a187b4329d9 Mon Sep 17 00:00:00 2001
From: Matthew Shao <me@matshao.com>
Date: Fri, 30 Jun 2017 20:46:02 +0800
Subject: [web] Update the Structure of Modal component.

---
 web/src/js/components/Modal/ModalList.jsx | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

(limited to 'web/src/js/components/Modal/ModalList.jsx')

diff --git a/web/src/js/components/Modal/ModalList.jsx b/web/src/js/components/Modal/ModalList.jsx
index 8ba46b00..1175d5ea 100644
--- a/web/src/js/components/Modal/ModalList.jsx
+++ b/web/src/js/components/Modal/ModalList.jsx
@@ -1,3 +1,13 @@
-import OptionModal from './OptionModal'
+import React from 'react'
+import ModalLayout from './ModalLayout'
+import OptionContent from './OptionModal'
+
+function OptionModal() {
+    return (
+        <ModalLayout>
+            <OptionContent/>
+        </ModalLayout>
+    )
+}
 
 export default [ OptionModal ]
-- 
cgit v1.2.3

