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

19 lines
493 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-29 18:20:35 +00:00
// FIXME!: fixme from; Unable to resolve path to module '@status-im/react'
2022-05-23 12:38:52 +00:00
import { Community } from '@status-im/react'
2022-05-29 18:20:35 +00:00
// TODO?: import/rename Chats, Messages, Messenger
// TODO?: import/rename CommunityAndMessenger, or Status even
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')
)