krypticmouse / chat-ui-kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat UI kit

To declare styling props:

  1. use classes as propname
  2. see example and component example - button.tsx to learn more

To test your component

  1. Compile your component npm run rollup
  2. If no error, then follow:
    1. Run npm run dev
    2. Goto example/src/App.js and import component and add respective props. import ChatUIKit from 'chat-ui-kit'
    3. Test your components

Follow if above not working only

To test your component

  1. Install dependencies in your own reactJS create-react-app npm install path_to_chat-ui-kit

  2. import chat-ui-kit in your component import ChatUIKit from 'chat-ui-kit'

  3. use your component

Example in example directory

  1. npm i ..
  2. import {Button} from "chat-ui-kit"
  3. use button component

About


Languages

Language:JavaScript 46.7%Language:HTML 26.8%Language:CSS 19.5%Language:TypeScript 7.0%