Closed arastepa closed 1 month ago
fixed: const JsonViewer = dynamic( () => import('@andypf/json-viewer/dist/esm/react/JsonViewer'), { ssr: false }, ) as typeof import('@andypf/json-viewer/dist/esm/react/JsonViewer');
so, it's fixed? Can I close this issue?
Yes
Hello does this library work with dynamic import? I get error when using dynamic import
Type '{ data: string; indent: number; expanded: number; theme: string; showDataTypes: boolean; showToolbar: boolean; showCopy: boolean; showSize: boolean; expandIconType: string; }' is not assignable to type 'IntrinsicAttributes'. Property 'data' does not exist on type 'IntrinsicAttributes'.