dappconnect-chat-sdk/examples/community/index.tsx

16 lines
305 B
TypeScript
Raw Normal View History

2022-02-24 22:30:34 +00:00
import React, { StrictMode } from 'react'
import { render } from 'react-dom'
2022-05-23 12:38:52 +00:00
import { Community } from '@status-im/react'
const App = () => {
2022-05-23 12:38:52 +00:00
return <Community publicKey="<YOUR_COMMUNITY_KEY>" theme="light" />
}
render(
<StrictMode>
<App />
</StrictMode>,
document.getElementById('root')
)