one-lifeway
A reusable React component for One LifeWay menu dropdown
Install
npm install one-lifeway-menu
Basic Usage
import { MenuToggle } from 'one-lifeway-menu';
<MenuToggle />
Principles
The <MenuToggle />
component is designed to be used directly in your application menu.
class Menu extends Component {
render() {
return (
<nav>
<h1>{this.props.title}</h1>
<MenuToggle />
</nav>
);
}
}
Spin up Dev Env
Clone this repo, install dependencies and use npm start
to run project.
Docs
Demo the component with this interactive documentation. Component Documentation
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Todd WebDev - Initial work - GitHub
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration
- etc