Skip to content

mycase/react-gears

 
 

Repository files navigation

react-gears

Automated Release Notes by gren react-gears is a React implementation of Appfolio UI components, using React, Bootstrap 4, and reactstrap.

https://appfolio.github.io/react-gears


Getting Started

npm install @appfolio/react-gears

Example

import React from 'react';
import { Button } from '@appfolio/react-gears';

export default (props) => {
  return (
    <Button color="danger">Danger!</Button>
  );
};

Development

Install dependencies:

npm install

Run storybook examples:

npm start

Open http://localhost:6006 in browser

Run tests & coverage report:

npm test

If using Cypress for integration testing, you can use react-gears-cypress for testing react-gears components.

Run Linter

npm run lint

Publishing

npm version (major|minor|patch)
npm publish
  • Release notes are generated in the postpublish script using Github Release Notes. Instructions for installation and setup here. (Latest version has a breaking bug, so we should use the latest working version 0.17.1 )

    npm install -g github-release-notes@0.17.1


About

AppFolio component library for React & Bootstrap

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 73.8%
  • TypeScript 26.1%
  • HTML 0.1%