React materialize package not working

Im getting an error trying to add a nav-header in mye application. Im using React materialize. Code from mye header:

import {Button, Icon} from 'react-materialize';

Header = React.createClass({
  render() {

    return (
      <Navbar brand='logo' right>
        <NavItem href=''>Getting started</NavItem>
        <NavItem href=''>Components</NavItem>
      </Navbar>
    );
  }
});

I get the following error: "SyntaxError: Unexpected reserved word"
I added the package with npm, any ideas on how i can fix this?