chatengine-io / react-chat-engine

React component for a cheap and easy chat API
137 stars 35 forks source link

hideUI not working #50

Closed ZhongchiLeoLi closed 3 years ago

ZhongchiLeoLi commented 3 years ago

I tried to hide the default UI by passing the prop hideUI as true, but the interface still shows up. My exact code is shown below.

<ChatEngine
    hideUI={true}
    projectID='df2a398d-a6b6-41ce-b4fe-915701fa969d'
    userName={chatConfig.userName}
    userSecret={chatConfig.userSecret}
/>
alamorre commented 3 years ago

Hey! The Hide UI prop is now gone. If you want a socket connection without the UI, use the Socket or ChatSocket component

https://chatengine.io/docs/sockets

Enjoy! 😉