mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-02-23 09:18:34 +00:00
26 lines
433 B
TypeScript
26 lines
433 B
TypeScript
import React, { StrictMode } from 'react'
|
|
import { render } from 'react-dom'
|
|
|
|
import { Channel, lightTheme } from '@status-im/react'
|
|
|
|
const App = () => {
|
|
return (
|
|
<div>
|
|
<Channel
|
|
publicKey="<YOUR_COMMUNITY_KEY>"
|
|
theme={lightTheme}
|
|
options={{
|
|
showMembers: false,
|
|
}}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
document.getElementById('root')
|
|
)
|