diff --git a/src/App.js b/src/App.js index cd6b3f8..0c33867 100644 --- a/src/App.js +++ b/src/App.js @@ -1,7 +1,6 @@ import './App.css'; import {AwesomeButton} from 'react-awesome-button'; import FacebookStyle from './styles/facebook.scss'; -import { Button} from './button/Button'; import data from './roots.json' function App() { diff --git a/src/button/Button.jsx b/src/button/Button.jsx deleted file mode 100644 index 470b489..0000000 --- a/src/button/Button.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import React from "react"; -import "./button.css"; - -const STYLES = [ - "btn--primary--solid", - "btn--warning--solid", - "btn--solid--solid", - "btn--success--solid", - "btn--primary--outline", - "btn--primary--outline", - "btn--primary--outline", - "btn--primary--outline", -] - -const SIZES = ["btn--medium", "btn--small"] - -export const Button = ({children, type, onClick, buttonStyle, buttonSize}) => { - const checkButtonStyle = STYLES.includes(buttonStyle) ? buttonStyle : STYLES[0]; - const checkButtonSize = SIZES.includes(buttonSize) ? buttonSize : SIZES[0]; - return ( - - ); -}; \ No newline at end of file diff --git a/src/button/button.css b/src/button/button.css deleted file mode 100644 index e69de29..0000000