Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header #7

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Header #7

wants to merge 10 commits into from

Conversation

GrishaDev
Copy link
Collaborator

a header

src/App.js Outdated
Comment on lines 18 to 25
<Router>
<Header/>
<Switch>
<Route exact path='/' component={LandingPage} />
<Route path='/managepage' component={ManagePage} />
<Route path='/treeDemo' component={TreeDemo}/>
</Switch>
</Router>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many spaces?

Comment on lines 18 to 26
/**
*
* @param handleClose close menu method
* @param anchorEl opens menu and sets position for menu
* @param redirect method that redirects page
* @param changeTheme method that changes theme
* @param currentUrl currentUrl, used to color currentpage on menu.
*/
export default function HeaderMenu(props) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can use HeaderMenu({ handleClose, ... }) and proptypes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants