import { useRef } from "react"; import { formatMemoContent } from "../helpers/marked"; import "../less/memo-content.less"; interface Props { className: string; content: string; onMemoContentClick: (e: React.MouseEvent) => void; } const MemoContent: React.FC = (props: Props) => { const { className, content, onMemoContentClick } = props; const memoContentContainerRef = useRef(null); const handleMemoContentClick = async (e: React.MouseEvent) => { onMemoContentClick(e); }; return (
); }; export default MemoContent;