File size: 407 Bytes
f45e448
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'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>
  );
}