@stjanis/ui-components

1.0.2 • Public • Published

Small ui react components library Built using: Rinse, React, repeat. A boilerplate to build a React component library.

Development and Storybook

You can easily develop and interact with your components by using Storybook. To run the local server, simply run:

$ yarn i
$ yarn storybook
$ npm i -S ui-components
// In your component
import { Button } from 'ui-components';

// In your render function
<Button type="submit" onClick={this.submit}>Hello!</Button>

Navigate to http://localhost:9001 to view your stories. They should automatically update as you develop.

Storybook will pick up any story from the stories.js file in a component folder.

Rinse is currently using the latest technology available, so you may need to update your Node versions to latest to accomodate Babel 7 and Webpack 4.

Package Sidebar

Install

npm i @stjanis/ui-components

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

7.21 MB

Total Files

46

Last publish

Collaborators

  • stjanis