Starting a button component

This commit is contained in:
mikwee 2021-10-28 21:05:54 +03:00
parent 6847f6e742
commit bfa21552be
3 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function App() {
<div className="App">
<h1 id="title">{data.title}</h1>
<div id="container">
<AwesomeButton className="roots" type="primary">Facebook</AwesomeButton>
{/*{data.links.map((rootDetail, index)=>{
if(rootDetail.type == "facebook") {
res = <AwesomeButton className="roots"></AwesomeButton>

2
src/button/Button.jsx Normal file
View File

@ -0,0 +1,2 @@
import React from "react";
import "./button.css";

0
src/button/button.css Normal file
View File