'use strict';

exports.__esModule = true;

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }

//export const Context = React.createContext({});

var Slot = function Slot(props) {
  var content = props.content,
      children = props.children,
      attributes = _objectWithoutProperties(props, ['content', 'children']);

  return content ? content : children ? children : '';
};

exports.default = Slot;
module.exports = exports['default'];