mirror of
https://github.com/yusufipk/natours-react.git
synced 2026-09-11 11:06:10 +00:00
created button component and moved header to commons folder
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import "./button.css";
|
||||
|
||||
function Button(props) {
|
||||
return (
|
||||
<a href="#" className="btn btn-white">
|
||||
{props.text}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
export default Button;
|
||||
Reference in New Issue
Block a user