function CardContent(props) {
  const {
    children,
    className,
    description,
    extra,
    header,
    meta,
  } = props

  const classes = cx(
    className,
    useKeyOnly(extra, 'extra'),
    'content',
  )
  const rest = getUnhandledProps(CardContent, props)
  const ElementType = getElementType(CardContent, props)

  if (!childrenUtils.isNil(children)) {
    return <ElementType {...rest} className={classes}>{children}</ElementType>
  }

  return (
    <ElementType {...rest} className={classes}>
      {createShorthand(CardHeader, val => ({ content: val }), header)}
      {createShorthand(CardMeta, val => ({ content: val }), meta)}
      {createShorthand(CardDescription, val => ({ content: val }), description)}
    </ElementType>
  )
}
/**
 * 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) {
  const {
    children,
    className,
    description,
    extra,
    header,
    meta,
  } = props
  const classes = cx(
    className,
    useKeyOnly(extra, 'extra'),
    'content',
  )
  const rest = getUnhandledProps(CardContent, props)
  const ElementType = getElementType(CardContent, props)
  if (!childrenUtils.isNil(children)) {
    return <ElementType {...rest} className={classes}>{children}</ElementType>
  }
  return (
    <ElementType {...rest} className={classes}>
      {createShorthand(CardHeader, val => ({ content: val }), header)}
      {createShorthand(CardMeta, val => ({ content: val }), meta)}
      {createShorthand(CardDescription, val => ({ content: val }), description)}
    </ElementType>
  )
}
function CardContent ( props ) { const { children , className , description , extra , header , meta , } = props const classes = cx ( className , useKeyOnly ( extra , 'extra' ) , 'content' , ) const rest = getUnhandledProps ( CardContent , props ) const ElementType = getElementType ( CardContent , props ) if ( ! childrenUtils . isNil ( children ) ) { return < ElementType { ... rest } className = { classes } > { children } < / ElementType > } return ( < ElementType { ... rest } className = { classes } > { createShorthand ( CardHeader , val => ( { content : val } ) , header ) } { createShorthand ( CardMeta , val => ( { content : val } ) , meta ) } { createShorthand ( CardDescription , val => ( { content : val } ) , description ) } < / ElementType > ) }
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 .