konsys-ui v0.1.234
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.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago