mirror of
https://github.com/yusufipk/natours-react.git
synced 2026-09-12 03:26:10 +00:00
changed fonts to rem
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user