I want to know how to run this chatbox as a component in react
I also installed his library but nothing happens
import Chatroom from "@scalableminds/chatroom"
import React, { Component } from 'react'
export default class App extends Component {
render() {
return (
<div>
<Chatroom />
</div>
)
}
}
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Check the render method of `App`.
I want to know how to run this chatbox as a component in react I also installed his library but nothing happens