/*
Copyright (c) 2018-2019 Uber Technologies, Inc.

This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
import * as React from 'react';
import { LayersManager } from '../layer/index.js';
import { ThemeProvider } from '../styles/index.js';

var BaseProvider = function BaseProvider(props) {
  var children = props.children,
      theme = props.theme;
  return React.createElement(LayersManager, null, React.createElement(ThemeProvider, {
    theme: theme
  }, children));
};

export default BaseProvider;