Pavel e839363c53
Simplify consumer configuration and add options (#236)
* Improve components configuration

* Update examples

* Move Theme to types
2022-03-03 16:54:59 +01:00

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')
)