text: 'use strict';
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
  
  var _classnames = require('classnames');
  
  var _classnames2 = _interopRequireDefault(_classnames);
  
  var _react = require('react');
  
  var _react2 = _interopRequireDefault(_react);
  
  var _lib = require('../../lib');
  
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  
  function LabelDetail(props) {
    var children = props.children;
    var className = props.className;
    var content = props.content;
  
    var classes = (0, _classnames2.default)('detail', className);
    var ElementType = (0, _lib.getElementType)(LabelDetail, props);
    var rest = (0, _lib.getUnhandledProps)(LabelDetail, props);
  
    return _react2.default.createElement(
      ElementType,
      _extends({ className: classes }, rest),
      children || content
    );
  }
  
  LabelDetail._meta = {
    name: 'LabelDetail',
    parent: 'Label',
    type: _lib.META.TYPES.ELEMENT
  };
  
  LabelDetail.propTypes = {
    /** An element type to render as (string or function). */
    as: _lib.customPropTypes.as,
  
    /** Primary content of the detail. Mutually exclusive with content. */
    children: _lib.customPropTypes.every([_lib.customPropTypes.disallow(['content']), _react.PropTypes.node]),
  
    /** Classes to add to the label className. */
    className: _react.PropTypes.string,
  
    /** Shorthand for primary content of the detail. Mutually exclusive with children. */
    content: _lib.customPropTypes.every([_lib.customPropTypes.disallow(['content']), _react.PropTypes.string])
  };
  
  exports.default = LabelDetail;