To view in visual studio - command+shift+v (Mac)
SIMPLE DEMO
Extremely Customizable
Widget Support
INSTALLATION
npm install react-chat-screen
yarn add react-chat-screen
QUICKSTART
;; { constmessageList setMessageList = constmsg setMsg = const onSend = { let authorObj = author: 'other' type: 'text' data: text: msg ; } return <div > <ChatScreen messageList=messageList onSend=onSend sendLabel=true isWidget = false otherBgColor="lime" value = msg onChange = /> </div> } ;
Plenty of props to play with!
<ChatScreen messageList= onSend={} sendLabel=false isWidget = false otherBgColor="" selfBgColor="" headingBgColor="" errorBorderColor="" focusBorderColor="" value = "" sendLabel="" sendBtnColor="" onChange = {} />
ROADMAP
- Add more tests
- Add emoji support
- Add is-typing feature
- Add slack-like unread messages
CONTRIBUTING
- Pull requests and Contributions are Welcome!
yarn test