Installation
The published package is split into entry points so applications can install only the layers they use.
Install the core package
npm install react-native-notion-markdownThe root package exposes the standard renderer. The document model is available independently when you need parsing and transformation without React Native.
Optional entry points
Use the package exports for focused imports:
import { renderDocument } from "react-native-notion-markdown"import { createDocument } from "react-native-notion-markdown/document"import { NotionMarkdownEditor } from "react-native-notion-markdown/editor"Check the package exports in Package/react-native-notion-markdown/package.json when choosing between renderer, editor, document, and native APIs.