/* eslint-disable @typescript-eslint/no-explicit-any */ "use client"; import MDEditor from "@uiw/react-md-editor"; import { FieldValues, Path, RegisterOptions, UseFormReturn } from "react-hook-form"; import { cn } from "@repo/shared-components"; interface MarkdownEditorProps { name: Path; form: UseFormReturn; formOptions?: RegisterOptions; label?: string; placeholder?: string; className?: string; } export const MarkdownEditor = ({ name, label = name, placeholder = label, form, className, }: MarkdownEditorProps) => { return ( ); };