created secondary button component

This commit is contained in:
Yusuf Ipek
2021-05-02 10:47:03 +03:00
parent 9199a562e8
commit 53eeb464a2
8 changed files with 83 additions and 8 deletions
+17
View File
@@ -0,0 +1,17 @@
function ButtonMain(props) {
const { text, animationName, link } = props;
return (
<a
href="#"
className={
animationName === "move-in--bottom"
? "btn btn--white move-in--bottom"
: "btn btn--white"
}
>
{text}
</a>
);
}
export default ButtonMain;