function CardHeader(props) {
  var children = props.children,
      className = props.className,
      content = props.content;

  var classes = (0, _classnames2.default)(className, 'header');
  var rest = (0, _lib.getUnhandledProps)(CardHeader, props);
  var ElementType = (0, _lib.getElementType)(CardHeader, props);

  return _react2.default.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    (0, _isNil3.default)(children) ? content : children
  );
}
/**
 * A card can contain a header
 */
A card can contain a header
A card can contain a header
function CardHeader(props) {
  var children = props.children,
      className = props.className,
      content = props.content;
  var classes = (0, _classnames2.default)(className, 'header');
  var rest = (0, _lib.getUnhandledProps)(CardHeader, props);
  var ElementType = (0, _lib.getElementType)(CardHeader, props);
  return _react2.default.createElement(
    ElementType,
    _extends({}, rest, { className: classes }),
    (0, _isNil3.default)(children) ? content : children
  );
}
function CardHeader ( props ) { var children = props . children , className = props . className , content = props . content ; var classes = ( 0 , _classnames2 . default ) ( className , 'header' ) ; var rest = ( 0 , _lib . getUnhandledProps ) ( CardHeader , props ) ; var ElementType = ( 0 , _lib . getElementType ) ( CardHeader , props ) ; return _react2 . default . createElement ( ElementType , _extends ( { } , rest , { className : classes } ) , ( 0 , _isNil3 . default ) ( children ) ? content : children ) ; }
A card can contain a header
A card can contain a header