Main
Provides the base needed by the other components (styles and context providers) to work properly.
Usage
import { Main } from '@aragon/ui'
function App () {
return (
<Main>
{/* Your app goes here */}
</Main>
)
}Props
assetsUrl
assetsUrlTYPE
DEFAULT VALUE
String
./aragon-ui/
Set this to configure the URL of the directory containing your aragonUI assets.
layout
layoutTYPE
DEFAULT VALUE
Boolean
true
Enable <Layout />.
scrollView
scrollViewTYPE
DEFAULT VALUE
Boolean
true
Enable <ScrollView />.
theme
themeTYPE
DEFAULT VALUE
String or Object
light
The main theme used by aragonUI.
Last updated
Was this helpful?
