2022-02-23 14:49:00 +00:00
|
|
|
import React, { render } from 'react-dom'
|
|
|
|
import { GroupChat, lightTheme } from '@status-im/react'
|
|
|
|
import { StrictMode } from 'react'
|
2022-02-23 14:32:08 +00:00
|
|
|
|
|
|
|
const App = () => {
|
|
|
|
return (
|
|
|
|
<div>
|
|
|
|
<GroupChat
|
|
|
|
theme={lightTheme}
|
|
|
|
communityKey="<YOUR_COMMUNITY_KEY>"
|
|
|
|
config={{
|
|
|
|
environment: '<ENVIRONMENT>',
|
|
|
|
dappUrl: '<URL>',
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</div>
|
2022-02-23 14:49:00 +00:00
|
|
|
)
|
|
|
|
}
|
2022-02-23 14:32:08 +00:00
|
|
|
|
|
|
|
render(
|
|
|
|
<StrictMode>
|
|
|
|
<App />
|
|
|
|
</StrictMode>,
|
|
|
|
document.getElementById('root')
|
2022-02-23 14:49:00 +00:00
|
|
|
)
|