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

Link problem #37

Open
jamieego opened this issue Dec 6, 2017 · 0 comments
Open

Link problem #37

jamieego opened this issue Dec 6, 2017 · 0 comments

Comments

@jamieego
Copy link

jamieego commented Dec 6, 2017

I want to jump to the Google home page in nav, where to add links. Please.

var React = require('react');
var ReactDOM = require('react-dom');

var Menu = require('react-menu');
var MenuTrigger = Menu.MenuTrigger;
var MenuOptions = Menu.MenuOptions;
var MenuOption = Menu.MenuOption;

var App = React.createClass({

render: function() {
return (





      <MenuOption>
        1st Option
      </MenuOption>

      <MenuOption onSelect={this.someHandler}>
        2nd Option
      </MenuOption>

      <div className='a-non-interactive-menu-item'>
        non-selectable item
      </div>

      <MenuOption disabled={true} onDisabledSelect={this.otherHanlder}>
        disabled option
      </MenuOption>

    </MenuOptions>
  </Menu>
);

}
});

ReactDOM.render(, document.body);

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

No branches or pull requests

1 participant