changed fonts to rem

This commit is contained in:
Yusuf Ipek
2021-04-30 11:00:09 +03:00
parent 177ec52f38
commit 379b0a0a8b
4 changed files with 37 additions and 49 deletions
+3 -2
View File
@@ -1,16 +1,17 @@
import "./button.css";
function Button(props) {
const { text, animationName, link } = props;
return (
<a
href="#"
className={
props.animationName === "move-in-bottom"
animationName === "move-in-bottom"
? "btn btn-white move-in-bottom"
: "btn btn-white"
}
>
{props.text}
{text}
</a>
);
}