rebul v1.0.2
Rebul
React UI Component Library built with the Bulma CSS Framework
Installation
npm install rebul bulmaBasic usage
Rebul does not depend on Bulma's stylesheets as we don't want to restrict you to any one version, hence you will have to import it yourself.
import 'bulma/css/bulma.css';
import Button from 'rebul/lib/Button'; // or: import { Button } from 'rebul';
export default () => <Button color="primary">Hello world</Button>Documentation
Developing
You can easily develop Rebul components locally by running a local instance of our docs:
git clone https://github.com/jxom/rebul.git
cd rebul
npm install
npm run catalog-startthen navigate to http://localhost:4000
Contributing
Contributing to Rebul is easy! With four simple steps:
Create a branch
- Fork the repository
git clone <your-repo-url>to clone your GitHub repo to your local onegit pull origin masterto pull the latest codenpm installto install the project's dependenciesgit checkout -b the-name-of-my-branchto create a branch (use something short and comprehensible, such as:added-button-component).
Make the change
Note: You can run npm run catalog-start, and then navigate to http://localhost:4000/ to interactively develop your changes.
Push the change!
git add -A && git commit -m "My message (#issue-number/pr-number)"(replacingMy message (#issue-number/pr-number)with a commit message, such asAdded button component (#43)) to stage and commit your changesgit push my-fork-name the-name-of-my-branch
License
MIT © Jake Moxey
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago