Skip to content
Snippets Groups Projects
Commit 74041fbf authored by chinmayanand.pattar's avatar chinmayanand.pattar
Browse files

MenuItem

parent fb4e7d2a
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!-- Fonts --> <!-- Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- <!--
Notice the use of %PUBLIC_URL% in the tags above. Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build. It will be replaced with the URL of the `public` folder during the build.
......
import React from 'react'
import './MenuItem.scss'
export default function MenuItem(props) {
return (
<div className='menuBox'>
<i className={props.icon} style={props.style} aria-hidden="true"></i>
<a href=''>{props.title}</a>
</div>
)
}
a{
text-decoration: none;
color: gray;
padding: 20px;
}
a:hover{
text-decoration: none;
color: black;
}
.menuBox{
padding: 20px;
}
\ No newline at end of file
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import Button from "components/Button"; import Button from "components/Button";
import MenuItem from "components/Menu/MenuItem";
function Login(props) { function Login(props) {
return <div>login</div>; return <div>login
</div>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment