status-web/examples/community/index.tsx

21 lines
331 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-06-04 11:09:49 +00:00
return (
<Community
2022-06-10 16:19:25 +00:00
publicKey="<YOUR_COMMUNITY_KEY>"
2022-06-04 11:09:49 +00:00
theme="light"
/>
)
}
render(
<StrictMode>
<App />
</StrictMode>,
document.getElementById('root')
)