function CardContent(props) {
  var children = props.children,
      className = props.className,
      description = props.description,
      extra = props.extra,
      header = props.header,
      meta = props.meta;

  var classes = (0, _classnames2.default)(className, (0, _lib.useKeyOnly)(extra, 'extra'), 'content');
  var rest = (0, _lib.getUnhandledProps)(CardContent, props);
  var ElementType = (0, _lib.getElementType)(CardContent, props);

  if (!(0, _isNil3.default)(children)) {
    return _react2.default.createElement(
      ElementType,
      _extends({}, rest, { className: classes }),
      children
    );
  }

  return _react2.default.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    (0, _lib.createShorthand)(_CardHeader2.default, function (val) {
      return { content: val };
    }, header),
    (0, _lib.createShorthand)(_CardMeta2.default, function (val) {
      return { content: val };
    }, meta),
    (0, _lib.createShorthand)(_CardDescription2.default, function (val) {
      return { content: val };
    }, description)
  );
}
/**
 * A card can contain blocks of content or extra content meant to be formatted separately from the main content
 */
A card can contain blocks of content or extra content meant to be formatted separately from the main content
A card can contain blocks of content or extra content meant to be formatted separately from the main content
function CardContent(props) {
  var children = props.children,
      className = props.className,
      description = props.description,
      extra = props.extra,
      header = props.header,
      meta = props.meta;
  var classes = (0, _classnames2.default)(className, (0, _lib.useKeyOnly)(extra, 'extra'), 'content');
  var rest = (0, _lib.getUnhandledProps)(CardContent, props);
  var ElementType = (0, _lib.getElementType)(CardContent, props);
  if (!(0, _isNil3.default)(children)) {
    return _react2.default.createElement(
      ElementType,
      _extends({}, rest, { className: classes }),
      children
    );
  }
  return _react2.default.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    (0, _lib.createShorthand)(_CardHeader2.default, function (val) {
      return { content: val };
    }, header),
    (0, _lib.createShorthand)(_CardMeta2.default, function (val) {
      return { content: val };
    }, meta),
    (0, _lib.createShorthand)(_CardDescription2.default, function (val) {
      return { content: val };
    }, description)
  );
}
function CardContent ( props ) { var children = props . children , className = props . className , description = props . description , extra = props . extra , header = props . header , meta = props . meta ; var classes = ( 0 , _classnames2 . default ) ( className , ( 0 , _lib . useKeyOnly ) ( extra , 'extra' ) , 'content' ) ; var rest = ( 0 , _lib . getUnhandledProps ) ( CardContent , props ) ; var ElementType = ( 0 , _lib . getElementType ) ( CardContent , props ) ; if ( ! ( 0 , _isNil3 . default ) ( children ) ) { return _react2 . default . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , children ) ; } return _react2 . default . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , ( 0 , _lib . createShorthand ) ( _CardHeader2 . default , function ( val ) { return { content : val } ; } , header ) , ( 0 , _lib . createShorthand ) ( _CardMeta2 . default , function ( val ) { return { content : val } ; } , meta ) , ( 0 , _lib . createShorthand ) ( _CardDescription2 . default , function ( val ) { return { content : val } ; } , description ) ) ; }
A card can contain blocks of content or extra content meant to be formatted separately from the main content
A card can contain blocks of content or extra content meant to be formatted separately from the main content