'use strict';

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

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

var _styledComponents2 = _interopRequireDefault(_styledComponents);

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

var InlineCode = _styledComponents2.default.pre.withConfig({
  displayName: 'InlineCode__InlineCode'
})(['font-family: ', ';fontSize: ', ';background: ', ';color: ', ';border: ', ';padding: ', 'borderRadius: ', ';margin: 0;'], function (_ref) {
  var theme = _ref.theme;
  return theme.inlineCode.fontFamily;
}, function (_ref2) {
  var theme = _ref2.theme;
  return theme.inlineCode.fontSize;
}, function (_ref3) {
  var theme = _ref3.theme;
  return theme.inlineCode.bg;
}, function (_ref4) {
  var theme = _ref4.theme;
  return theme.inlineCode.fg;
}, function (_ref5) {
  var theme = _ref5.theme;
  return theme.inlineCode.border;
}, function (_ref6) {
  var theme = _ref6.theme;
  return theme.inlineCode.padding;
}, function (_ref7) {
  var theme = _ref7.theme;
  return theme.inlineCode.borderRadius;
});

InlineCode.usage = '\n# InlineCode\n\nApplies styling to render code inside a larger paragraph.\n\n```\nLorem ipsum <InlineCode>code</InlineCode> dolor\n```\n';

exports.default = InlineCode;