Spaces:
Sleeping
Sleeping
| 'use client'; | |
| import dynamic from 'next/dynamic'; | |
| const QuillWrapper = dynamic(() => import('./QuillWrapper'), { ssr: false }); | |
| interface RichTextEditorProps { | |
| value: string; | |
| onChange: (value: string) => void; | |
| placeholder?: string; | |
| } | |
| export default function RichTextEditor(props: RichTextEditorProps) { | |
| return ( | |
| <div className="bg-white"> | |
| <QuillWrapper {...props} /> | |
| </div> | |
| ); | |
| } | |