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

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

layout

Enable <Layout />.

scrollView

Enable <ScrollView />.

theme

The main theme used by aragonUI.

Last updated