Reformating
This commit is contained in:
parent
b25d8fad3a
commit
b9771e6b1f
7 changed files with 17 additions and 22 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue