added animation to header button

This commit is contained in:
Yusuf Ipek
2021-04-30 09:29:01 +03:00
parent 9452abba7d
commit 177ec52f38
4 changed files with 70 additions and 2 deletions
+8 -1
View File
@@ -2,7 +2,14 @@ import "./button.css";
function Button(props) {
return (
<a href="#" className="btn btn-white">
<a
href="#"
className={
props.animationName === "move-in-bottom"
? "btn btn-white move-in-bottom"
: "btn btn-white"
}
>
{props.text}
</a>
);