Main
Provides the base needed by the other components (styles and context providers) to work properly.
import { Main } from '@aragon/ui'
function App () {
return (
<Main>
{/* Your app goes here */}
</Main>
)
}
TYPE | DEFAULT VALUE |
---|---|
String | ./aragon-ui/ |
Set this to configure the URL of the directory containing your aragonUI assets.
TYPE | DEFAULT VALUE |
---|---|
Boolean | true |
Enable
<Layout />
.TYPE | DEFAULT VALUE |
---|---|
Boolean | true |
Enable
<ScrollView />
.TYPE | DEFAULT VALUE |
---|---|
String or Object | light |
The main theme used by aragonUI.
Last modified 6mo ago