import cn from "classnames";
import React from "react";
import PropTypes from "prop-types";

export interface IDialogContentProps {
  className?: string;
}

const DialogContent: React.FC<IDialogContentProps> = ({ children, className }) => {
  return <div className={cn("modal-body", className)}>{children}</div>;
};

DialogContent.displayName = "Dialog Content";

DialogContent.propTypes = {
  className: PropTypes.string
};

export default DialogContent;
