Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
// const minicartSidebar = new SidebarItem('minicart')
// sidebarGroup.addSidebar(minicartSidebar)

// ReactDOM.createPortal(
//   <Minicart>,
//   document.getElementById('footer')
// )
// class MiniCart {
//   renderMiniCart() {
//     // return <h1>...</h1>
//   }
//   componentWillMount() {
//     // minicartSidebar.setRender(this.render)
//   }
//   render() {
//     // const view = this.renderMinicart()
//     // minicartSidebar.setContents(view)
//     const children = this.renderMinicart()
//     return <SidebarPortal>{children}</SidebarPortal>
//   }
// }


  // class MiniCart extends React.Component {
    //   renderSidebar() {
    //     return <h1>sidebar eh</h1>
    //   }
    //   componentWillMount() {
    //     minicartSidebar.setRender(this.render)
    //   }
    //   render() {
    //     return this.renderSidebar()
    //     // const view = this.renderMinicart()
    //     // minicartSidebar.setContents(view)
    //     // const children = this.renderMinicart()
    //     // return <SidebarPortal>{children}</SidebarPortal>
    //   }
    // }