2020.0.1 • Published 4 years ago

phenix-react-chat v2020.0.1

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
4 years ago

ChatView

Package for chatting in real time while watching a stream with support for sending emojis and chat history.

Usage:

import ChatView from 'phenix-react-chat';

...

<ChatView roomService={roomService} />

Props

roomService

Required property. Object is similar to phenix-web-sdk RoomService instance.

Default props

parseScreenName

Function which gets user info from message object in string format. It parses string and returns object with props: screenName and email.

parseScreenName('"myname" <myemail>') {
  return {
    screenName: 'myname',
    email: 'myemail'
  };
}
2020.0.1

4 years ago

2019.0.1

5 years ago

2019.0.0

5 years ago

2018.4.1-alpha.2

5 years ago

2018.4.1

5 years ago

2018.4.0

5 years ago

2018.1.4

6 years ago

2017.4.2

7 years ago

2017.4.1

7 years ago

2017.4.0

7 years ago

1.0.0

7 years ago