middlerun / cheeseburger-menu Goto Github PK
View Code? Open in Web Editor NEWA simple sliding side menu component for React
A simple sliding side menu component for React
Setting the width property to "20rem" seems to work fine but produces a console warning:
Warning: Failed prop type: Invalid prop width
of type string
supplied to CheeseburgerMenu
, expected number
.
I think the expected prop type should be string, right?
Please update the package "react-easy-swipe" to new version. becouse your version throw a warning:
lowPriorityWarning.js?4545:40 Warning: Accessing PropTypes via the main React package is deprecated, and will be removed in React v16.0. Use the latest available v15.* prop-types package from npm instead. For info on usage, compatibility, migration and more, see https://fb.me/prop-types-docs
Just curious if sub-menus are supported? I'd like to have a top level item possibly and then optionally expand it to reach its sub-pages.
Could not find a declaration file for module 'cheeseburger-menu'. 'c:/[PATH-TO-PROJECT/react-nav/node_modules/cheeseburger-menu/index.js' implicitly has an 'any' type.
Try npm install @types/cheeseburger-menu
if it exists or add a new declaration (.d.ts) file containing `declare module 'cheeseburger-menu';
I tried npm install @types/cheeseburger-menu
and it wouldn't install.
Where would I create the .d.ts file?
Note: everything works as expected - is it safe to ignore?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.