From bfa21552be9ea198baa17c372c52e47f6051f7fa Mon Sep 17 00:00:00 2001 From: mikwee Date: Thu, 28 Oct 2021 21:05:54 +0300 Subject: [PATCH] Starting a button component --- src/App.js | 2 +- src/button/Button.jsx | 2 ++ src/button/button.css | 0 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/button/Button.jsx create mode 100644 src/button/button.css diff --git a/src/App.js b/src/App.js index 5f4fb01..682184f 100644 --- a/src/App.js +++ b/src/App.js @@ -11,7 +11,7 @@ function App() {

{data.title}

- Facebook + {/*{data.links.map((rootDetail, index)=>{ if(rootDetail.type == "facebook") { res = diff --git a/src/button/Button.jsx b/src/button/Button.jsx new file mode 100644 index 0000000..7d29968 --- /dev/null +++ b/src/button/Button.jsx @@ -0,0 +1,2 @@ +import React from "react"; +import "./button.css"; \ No newline at end of file diff --git a/src/button/button.css b/src/button/button.css new file mode 100644 index 0000000..e69de29