react-notion-x
react-notion-x copied to clipboard
Fast and accurate React renderer for Notion. TS batteries included. ⚡️
I'm trying to customize the card layout shown in the CollectionViewGallery, but I'm having trouble getting my custom component to apply. notionPage.tsx ``` const components = React.useMemo( () => ({...
README says: ``` const notion = new NotionAPI({ activeUser: process.env.NOTION_ACTIVE_USER, authToken: process.env.NOTION_TOKEN_V2 }) ``` However, it didn't work resulting in an error like 'Error: Notion page not found xxx...'" Instead,...
#### Description Some users prefer the default Notion page icon alignment style. To accommodate this preference, this PR introduces the `alignCenter` option in `NotionRenderer`. - Added `alignCenter` prop to `NotionRenderer`...
**Description:** With Notion’s recent release of the "Suggest Edits" feature—where a user can highlight a piece of text and suggest an edit—the rendered output in react-notion-x now displays suggestion markup...
Using react-notion-x on my project and I'm getting a slew of warnings at build time and I'm working on resolving them one by one. I ran into this one: I...
#### Description At this time, `NotionAPI.addSignedUrls` only signs URLs which contains `secure.notion-static.com` string (#332). Notion is currently serving PDF (may be also other type files, I don't test) files from...
#### Description Custom emojis are not loading properly. Please add custom emoji blocks!!   https://developers.notion.com/reference/emoji-object#custom-emoji 
Replaced third-party lazy-loading implementation with native lazy-loading for improved performance
## Replaced third-party lazy-loading implementation with native lazy-loading for improved performance. ### Performance Benefits: - **Reduced JavaScript Overhead**: Native lazy-loading is handled by the browser, eliminating the need for additional...
#### Description Right now, react-notion-x assumes that the first row is always the header, but in Notion you can customize either: - no header at all - 1st row is...
reacta-notion-x can only display pages. Is it can be used for editing in the future?