We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66cb827 commit 2bb441eCopy full SHA for 2bb441e
lib/index.ts
@@ -1 +1,3 @@
1
+export * from './EditorJs'
2
+
3
export { default } from './EditorJs'
package.json
@@ -12,7 +12,7 @@
12
],
13
"main": "./dist/react-editor-js.umd.js",
14
"module": "./dist/react-editor-js.es.js",
15
- "types": "./dist/index.d.ts",
+ "types": "./dist/lib/index.d.ts",
16
"scripts": {
17
"build": "rollup --config --environment NODE_ENV:production",
18
"build-storybook": "build-storybook",
stories/index.stories.tsx
@@ -1,7 +1,7 @@
import * as React from 'react'
import { ComponentStory, ComponentMeta } from '@storybook/react'
4
-import ReactEditorJS from '../lib/EditorJs'
+import ReactEditorJS from '../lib'
5
6
import { EXAMPLE_TOOLS } from './constants'
7
0 commit comments