Reformating

This commit is contained in:
cami 2021-06-21 03:45:22 +02:00
parent b25d8fad3a
commit b9771e6b1f
7 changed files with 17 additions and 22 deletions

View file

@ -2,7 +2,7 @@ import React from "react";
import "./Button.css";
import { Link } from "react-router-dom";
const newTo = (props) => '#';
const newTo = (props) => "#";
const STYLES = ["btn--primary", "btn--outline"];
@ -21,9 +21,8 @@ export const Button = ({
const checkButtonSize = SIZES.includes(buttonSize) ? buttonSize : SIZES[0];
return (
<Link to={newTo || '/'} className="btn-mobile">
<Link to={newTo || "/"} className="btn-mobile">
<button
className={`btn ${checkButtonStyle} ${checkButtonSize}`}
onClick={onClick}