dappconnect-sdks/examples/community/index.tsx

24 lines
567 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-06-04 11:09:49 +00:00
return (
<Community
publicKey="0x029f196bbfef4fa6a5eb81dd802133a63498325445ca1af1d154b1bb4542955133"
theme="light"
/>
)
}
render(
<StrictMode>
<App />
</StrictMode>,
document.getElementById('root')
)