https://github.com/aaronvb/react_on_rails_materialize_modals
https://github.com/aaronvb/react_on_rails_materialize_modals
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronvb/react_on_rails_materialize_modals
- Owner: aaronvb
- Created: 2016-02-06T00:14:23.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-06T00:14:42.000Z (over 9 years ago)
- Last Synced: 2025-03-21T22:38:22.051Z (3 months ago)
- Language: Ruby
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react_on_rails materialize modal launch example
This is an example app that shows how to launch a modal with [react_on_rails](https://github.com/shakacode/react_on_rails) and [materialize](https://github.com/mkhairi/materialize-sass).
The main part of the code is in `client/app/bundles/HelloWorld/components/HelloworldWidget.jsx`
```javascript
render() {
const { name } = this.props;
return (
);
}openModal() {
$('#modal1').openModal();
}
```## Build
- [react_on_rails](https://github.com/shakacode/react_on_rails) 2.3.0
- [materialize](https://github.com/mkhairi/materialize-sass) 0.97.5
- Ruby on Rails 4.2.5.1
- Ruby 2.2.3
- Npm 3.5.2