konsys-ui

<div align="center"> <a href="https://www.konsys.co/"> <img src="https://lh3.googleusercontent.com/Gk-KbNLhL8E-bFXJiKRVdNl7MDugIlw9KI-1aH85kOsjXUoIVyJDKDbXzshLFlB6CcRQjnPNAU0JrWeuZ-44SyZKiY-dXkWrXWodBc28x_hoxCqOTmXlhZoYCS4N24s6AiWFUOJseQ=w1627-h345-

Usage no npm install needed!

<script type="module">
  import konsysUi from 'https://cdn.skypack.dev/konsys-ui';
</script>

README

Install and use components

Konsys-UI is made up of multiple components live example here. All you need to do is install the konsys-ui package:

$ yarn add konsys-ui
# or
$ npm install --save konsys-ui

A working version, assuming you are using something like Create React App, might look like this:

import React from 'react'
import ReactDOM from 'react-dom'
import { Button } from 'konsys-ui'

ReactDOM.render(
  <Button text='I am Konsys' />,
  document.getElementById('root')
)

Deploy storybook to Firebase

  • yarn build-storybook && firebase deploy

Deploy NPM

  • npm publish

Error handler

If you have got a React-hooks error like this.

invalid hook call. hooks can only be called inside of the body of a function component.

First, Run npm ls react on terminal to check how many copies of react in your application. Then you should have to found the Konsys-ui got different the React version, Fix it.