mirror of
https://github.com/status-im/status-web.git
synced 2025-01-12 05:34:39 +00:00
e839363c53
* Improve components configuration * Update examples * Move Theme to types
20 lines
355 B
TypeScript
20 lines
355 B
TypeScript
import React, { StrictMode } from 'react'
|
|
import { render } from 'react-dom'
|
|
|
|
import { Community, lightTheme } from '@status-im/react'
|
|
|
|
const App = () => {
|
|
return (
|
|
<div>
|
|
<Community publicKey="<YOUR_COMMUNITY_KEY>" theme={lightTheme} />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
document.getElementById('root')
|
|
)
|