'use client';
import { EquationPlugin, InlineEquationPlugin } from '@platejs/math/react';
import {
EquationElement,
InlineEquationElement,
} from '@/registry/ui/equation-node';
export const MathKit = [
InlineEquationPlugin.withComponent(InlineEquationElement),
EquationPlugin.withComponent(EquationElement),
];
npx shadcn@latest add @plate/math-kitimport { MathKit } from "@/components/math-kit"<MathKit />