2.6.0 • Published 4 years ago

xolabot-ui-kit v2.6.0

Weekly downloads
101
License
-
Repository
github
Last release
4 years ago

Xolabot UI Kit

UI Kit for building Xolabot Modules in React.

Usage

First, install following packages:

$ npm install xolabot-ui-kit react react-dom

React and ReactDOM needs to be installed along with the UI Kit.

Then, import components you want to use:

import { Chat, Button } from 'xolabot-ui-kit';

export default () => (
    <Chat>
        <Button>Hello</Button>
    </Chat>
);

That's it.

Development

Start the development server:

$ npm start

This will spin up Storybook documentation server allowing you to create components and write documentation at the same time.

Prettier

This project is formatted with Prettier. Every time you make a commit, Prettier will be triggered and nicely format your code.

For the best user experience with writing code with Prettier, take a look at some editor integrations and set up formatting on save. See official documentation for Editor Integration.

See rules for Prettier in .prettierrc.

Building Documentation

Use the following command to build documentation website ready for publishing:

$ npm run build:docs

Building Library

This will build a release version in lib directory.

$ npm run build
2.6.0

4 years ago

2.5.1-0

4 years ago

2.6.0-0

4 years ago

2.5.0-0

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.0

4 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago