Refer to the original documentation here
- Exports
text
component to be passed as a config.
yarn add customized-react-notion-x
Once you have created your own custom Text
component, you can pass it to the Notion Renderer components:
<NotionRenderer
recordMap={page.blocks}
components={{
text: Text
}}
/>