'use client'; import MDEditor from '@uiw/react-md-editor'; import { FieldValues, Path, RegisterOptions, UseFormReturn, } from 'react-hook-form'; import { cn } from '../../../helper/cn'; 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 ( ); };