import React, { forwardRef } from "react"; import cn from "classnames"; import PropTypes from "prop-types"; export interface IModalTitleProps { className?: string; } const ModalTitle: React.FC = forwardRef( ({ children, className }, ref: React.Ref) => { return (
{children}
); } ); ModalTitle.displayName = "ModalTitle"; ModalTitle.propTypes = { className: PropTypes.string }; export default ModalTitle;