1.0.2 • Published 5 years ago
@stjanis/ui-components v1.0.2
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.