Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 774 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 774 Bytes

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