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

* Update examples

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

26 lines
433 B
TypeScript

import React, { StrictMode } from 'react'
import { render } from 'react-dom'
import { Channel, lightTheme } from '@status-im/react'
const App = () => {
return (
<div>
<Channel
publicKey="<YOUR_COMMUNITY_KEY>"
theme={lightTheme}
options={{
showMembers: false,
}}
/>
</div>
)
}
render(
<StrictMode>
<App />
</StrictMode>,
document.getElementById('root')
)