Changed SCSS to CSS

This commit is contained in:
mikwee 2021-11-05 13:43:24 +02:00
parent 6bc50393a8
commit 5dded31a31
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,6 @@
import './App.css'; import './App.css';
import {AwesomeButton} from 'react-awesome-button'; import {AwesomeButton} from 'react-awesome-button';
import FacebookStyle from './styles/facebook.scss'; import './styles/facebook.css';
import "react-awesome-button/dist/styles.css";
import data from './roots.json' import data from './roots.json'
function App() { function App() {
@ -11,7 +10,7 @@ function App() {
<div className="App"> <div className="App">
<h1 id="title">{data.title}</h1> <h1 id="title">{data.title}</h1>
<div id="container"> <div id="container">
<AwesomeButton className="roots" cssModule={FacebookStyle} type="primary">Facebook</AwesomeButton> <AwesomeButton className="roots" type="primary">Facebook</AwesomeButton>
{/*{data.links.map((rootDetail, index)=>{ {/*{data.links.map((rootDetail, index)=>{
if(rootDetail.type == "facebook") { if(rootDetail.type == "facebook") {
res = <AwesomeButton className="roots"></AwesomeButton> res = <AwesomeButton className="roots"></AwesomeButton>