status-web-archive/examples/community/index.tsx

16 lines
322 B
TypeScript
Raw Normal View History

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