Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (33 sloc) 1.13 KB

import Example from '../../components/example'; import API from '../../components/api'; import Layout from '../../components/layout';

export default Layout;


BaseProvider provides a single wrapper to configure your application. It adds a LayersManager and a ThemeProvider to handle styling and stacking context in the application.

Wrap your application with the BaseProvider at its root:

import {BaseProvider, LightTheme} from 'baseui';
import {Provider as StyletronProvider} from 'styletron-react';

export default function App() {
  return (
    <StyletronProvider value={engine}>
      <BaseProvider theme={LightTheme}>
        <YourApp />


<API heading="BaseProvider API" api={require('!!@uber-web-ui/extract-react-types-loader!../../../src/helpers/base-provider.js')} />

You can’t perform that action at this time.