15 lines
307 B
TypeScript
15 lines
307 B
TypeScript
'use client'
|
|
|
|
import dynamic from 'next/dynamic'
|
|
import { ComponentProps } from 'react'
|
|
|
|
import 'katex/dist/katex.min.css'
|
|
|
|
const TeX = dynamic(() => import('@matejmazur/react-katex'))
|
|
|
|
const SuspendedTeX = (props: ComponentProps<typeof TeX>) => {
|
|
return <TeX {...props} />
|
|
}
|
|
|
|
export default SuspendedTeX
|