first commit

This commit is contained in:
Kyle Lawson
2021-08-19 11:20:36 -05:00
parent ecb8219476
commit a37cdfc29f
3 changed files with 74 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
const Outline = () => {
const handleBlockClick = () => {
console.log("Block Clicked!");
};
const handleCloseClick = () => {
console.log("Close Clicked!");
};
const handleSubmitClick = () => {
console.log("Submit Clicked!");
};
return (
<div
style={{ width: 300, height: 300, backgroundColor: "#FFDDDD" }}
onClick={handleBlockClick}
>
<h3>Block</h3>
<button style={{ margin: 40 }} onClick={handleCloseClick}>
Close
</button>
<button style={{ margin: 40 }} onClick={handleSubmitClick}>
Submit
</button>
</div>
);
};
export default Outline;