'use strict';

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

var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _styledComponents = require('styled-components');

var _styledComponents2 = _interopRequireDefault(_styledComponents);

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

var MethodTag = _styledComponents2.default.pre.withConfig({
  displayName: 'MethodTag__MethodTag'
})(['background: ', ';color: ', ';font-size: ', ';padding: ', ';border-radius: ', ';text-transform: uppercase;line-height: ', ';margin: 0;'], function (_ref) {
  var theme = _ref.theme,
      children = _ref.children;
  return theme.methodTag.colors[children];
}, function (_ref2) {
  var theme = _ref2.theme;
  return theme.methodTag.fg;
}, function (_ref3) {
  var theme = _ref3.theme;
  return theme.methodTag.fontSize;
}, function (_ref4) {
  var theme = _ref4.theme;
  return theme.methodTag.padding;
}, function (_ref5) {
  var theme = _ref5.theme;
  return theme.methodTag.borderRadius;
}, function (_ref6) {
  var theme = _ref6.theme;
  return theme.methodTag.lineHeight;
});

exports.default = MethodTag;