personal-website/components/SuspendedTeX.tsx
Filipe Medeiros 9a9638237f
feat: initial commit
Signed-off-by: Filipe Medeiros <hello@filipesm.eu>
2023-12-03 12:25:52 +01:00

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