I installed react-quill in the remix framework which is built using react and TypeScript but when I tried to import Quill from react-quill, it displayed to me this error
SyntaxError: The requested module 'react-quill' does not provide an export named 'Quill'
/Users/ghadeer/Desktop/app/routes/projects+/EditorToolbar.tsx:2
import { Quill } from "react-quill";
^
SyntaxError: The requested module 'react-quill' does not provide an export named 'Quill'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21)
at ModuleJob.run (node:internal/modules/esm/module_job:189:5)
at async Promise.all (index 0)
at ESMLoader.import (node:internal/modules/esm/loader:530:24)
at file:///Users/ghadeer/Desktop/server/index.ts:1:912
I installed react-quill in the remix framework which is built using react and TypeScript but when I tried to import Quill from react-quill, it displayed to me this error
SyntaxError: The requested module 'react-quill' does not provide an export named 'Quill' /Users/ghadeer/Desktop/app/routes/projects+/EditorToolbar.tsx:2 import { Quill } from "react-quill"; ^
SyntaxError: The requested module 'react-quill' does not provide an export named 'Quill' at ModuleJob._instantiate (node:internal/modules/esm/module_job:123:21) at ModuleJob.run (node:internal/modules/esm/module_job:189:5) at async Promise.all (index 0) at ESMLoader.import (node:internal/modules/esm/loader:530:24) at file:///Users/ghadeer/Desktop/server/index.ts:1:912