mirror of
https://github.com/status-im/status-web.git
synced 2025-01-12 05:34:39 +00:00
16fac14582
* feat(examples): add full height and remove wrapping div * Remove Channel component in favour of options * feat(react): add hook for keyboard shortcuts * setup: sort only react related packages at the top * Add radix-ui packages * feat(system): add stitches config file * feat(system): add Image primitive * feat(system): add Avatar component * feat(system): add Box primitive * feat(system): add Flex primitive * feat(system): add Grid primitive * feat(system): add Tooltip component * feat(system): add Icon primitive * feat(system): add Button component * feat(system): add IconButton component * feat(system): add EthAddress component * fix(system): pass down button props * feat(system): add option to hide Icon from screen readers * feat(system): add Heading component * feat(system): add Text component * feat(system): add TextInput component * feat(system): add Dialog component * feat(system): add VisuallyHidden primitive * feat(system): add Menu primitive * feat(system): add DropdownMenu component * feat(system): add ContextMenu component * refactor(system): Icon component prop name * feat(system): add AlertDialog component * feat(system): update Avatar default background color
16 lines
322 B
TypeScript
16 lines
322 B
TypeScript
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')
|
|
)
|