mirror of
https://github.com/yusufipk/natours-react.git
synced 2026-09-11 19:16:11 +00:00
finished tours section
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
function ButtonMain(props) {
|
||||
const { text, animationName, link } = props;
|
||||
const { text, link, feature } = props;
|
||||
return (
|
||||
<a
|
||||
href="#"
|
||||
className={
|
||||
animationName === "move-in--bottom"
|
||||
? "btn btn--white move-in--bottom"
|
||||
: "btn btn--white"
|
||||
}
|
||||
>
|
||||
<a href="#" className={feature}>
|
||||
{text}
|
||||
</a>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user