Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

xolabot-ui-kit

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xolabot-ui-kit

Xolabot UI Kit for building Xolabot Modules in React

  • 2.6.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 13 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc