From 08bea4c56fb178bf0edaff9e63472a6ebb3b550c Mon Sep 17 00:00:00 2001 From: Leon Xu Date: Mon, 30 Jan 2023 14:34:35 -0800 Subject: [PATCH] doc: add additional semantic code and event handler --- src/pages/CreatePost.jsx | 42 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/src/pages/CreatePost.jsx b/src/pages/CreatePost.jsx index 5a9d486..3986eb4 100644 --- a/src/pages/CreatePost.jsx +++ b/src/pages/CreatePost.jsx @@ -17,7 +17,47 @@ const CreatePost = () => { const [generatingImg, setGeneratingImg] = useState(false); const [loading, setLoading] = useState(false); - return
CreatePost
; + const handleSubmit = () => {}; + + const handleChange = (e) => {}; + + const handleSurpriseMe = () => {}; + + return ( +
+
+

Create

+

+ Create imaginative and visually stunning images through DALL-E AI and + share them with the community +

+
+ +
+
+ + + +
+
+
+ ); }; export default CreatePost;