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

TYPEDEFAULT VALUE

String

./aragon-ui/

Set this to configure the URL of the directory containing your aragonUI assets.

layout

TYPEDEFAULT VALUE

Boolean

true

Enable <Layout />.

scrollView

TYPEDEFAULT VALUE

Boolean

true

Enable <ScrollView />.

theme

TYPEDEFAULT VALUE

String or Object

light

The main theme used by aragonUI.

Last updated