Description
Adds support for modular imports for components. All the components can be imported as a module, whereas utils are available as named imports under the namespace utils.
Before:
import { Editor, isEditorEmpty } from "@bigbinary/neeto-editor";
After:
import Editor from "@bigbinary/neeto-editor/Editor";import { isEditorEmpty } from "@bigbinary/neeto-editor/utils";
Checklist
[x] I have made corresponding changes to the documentation.
[ ] ~I have updated the types definition of modified exports.~
[x] I have verified the functionality in some of the neeto web-apps.
[x] I have added the necessary label (patch/minor/major - If package publish
is required).
Fixes #1131
Description Adds support for modular imports for components. All the components can be imported as a module, whereas utils are available as named imports under the namespace
utils
.Before:
import { Editor, isEditorEmpty } from "@bigbinary/neeto-editor";
After:
import Editor from "@bigbinary/neeto-editor/Editor";
import { isEditorEmpty } from "@bigbinary/neeto-editor/utils";
Checklist
Reviewers