"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getTheme = getTheme;

function getTheme(context, props) {
  var contextTheme = context.theme;
  var propTheme = props.theme; // console.log(context, props);

  var theme = propTheme ? propTheme : contextTheme ? contextTheme : 'white';
  return theme;
}