import React from 'react'; import 'katex/dist/katex.min.css'; import { BlockMath } from 'react-katex'; import style from './index.module.scss'; import classNames from 'classnames'; interface LatexRendererProps { formula: string; className?: string; 'aria-label'?: string; title?: string; } function LatexRenderer({ formula, className = '', 'aria-label': ariaLabel, title }: LatexRendererProps) { try { return (