text: import React from "react";
  // nodejs library that concatenates classes
  import classNames from "classnames";
  // nodejs library to set properties for components
  import PropTypes from "prop-types";
  // @material-ui/core components
  import { makeStyles } from "@material-ui/core/styles";
  // @material-ui/icons
  
  // core components
  import styles from "assets/jss/material-dashboard-react/components/cardBodyStyle.js";
  
  const useStyles = makeStyles(styles);
  
  export default function CardBody(props) {
    const classes = useStyles();
    const { className, children, plain, profile, home, ...rest } = props;
    const cardBodyClasses = classNames({
      [classes.cardBody]: true,
      [classes.cardBodyPlain]: plain,
      [classes.cardBodyProfile]: profile,
      [classes.cardBodyHome]: home,
      [className]: className !== undefined
    });
    return (
      <div className={cardBodyClasses} {...rest}>
        {children}
      </div>
    );
  }
  
  CardBody.propTypes = {
    className: PropTypes.string,
    plain: PropTypes.bool,
    profile: PropTypes.bool,
    home: PropTypes.bool,
    children: PropTypes.node
  };
  