Giter VIP home page Giter VIP logo

Comments (7)

lwhiteley avatar lwhiteley commented on August 13, 2024

i believe this is due to react migrating proptypes to its own package. ill push a fix shortly

from react-push-menu.

lwhiteley avatar lwhiteley commented on August 13, 2024

[email protected] is in npm, let me know if it resolves your issue so i can close.

please note: proptypes is now a peer dependency

from react-push-menu.

gabriel216 avatar gabriel216 commented on August 13, 2024

how import proptypes?

from react-push-menu.

lwhiteley avatar lwhiteley commented on August 13, 2024

run npm i --save proptypes for your main project

from react-push-menu.

gabriel216 avatar gabriel216 commented on August 13, 2024

TypeError: Cannot read property 'children' of undefined
153 | var _this2 = this;
154 |
155 | var propMap = Object.assign({}, defaultPropMaps, this.props.propMap);

156 | var nodeChildren = this.props.nodes[propMap.childPropName];
157 | return _react2.default.createElement(
158 | 'div',
159 | { className: 'rpm-container', id: 'rpm-container' },

from react-push-menu.

lwhiteley avatar lwhiteley commented on August 13, 2024

that's an error i can prevent from happening but are you looking at the docs and example:

https://github.com/lwhiteley/react-push-menu/blob/master/example/index.js

if you dont define the menu data then you will get that undefined error

from react-push-menu.

gabriel216 avatar gabriel216 commented on August 13, 2024

Could you help me implement it? since I have a Navbar component and a separate sideNav component

from react-push-menu.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.