react-notion-x icon indicating copy to clipboard operation
react-notion-x copied to clipboard

feat(docs): add explanation for NotionRenderer

Open bytrangle opened this issue 3 years ago • 2 comments
trafficstars

Description

NotionRenderer is one of the most important modules exported by react-notion-x. Aside from the required prop recordMap, it accepts many optional props which makes it quite confusing to use for newcomers.

Information that I added:

  • the bare bone markup when no optional props are defined for NotionRenderer
  • what fullPage prop means
  • the lowdown on props that depend on the truthiness of fullPage: header, pageHeader, footer, pageFooter!

Notion Test Page ID

cc368b47772a4a1aa36e1f52c507d20d

bytrangle avatar Jun 29 '22 13:06 bytrangle

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
react-notion-x ❌ Failed (Inspect) Jun 30, 2022 at 3:32PM (UTC)
react-notion-x-minimal-demo ✅ Ready (Inspect) Visit Preview Jun 30, 2022 at 3:32PM (UTC)

vercel[bot] avatar Jun 29 '22 13:06 vercel[bot]

Hello @transitive-bullshit This PR is a doc update. What else can I do to speed this up?

bytrangle avatar Jul 05 '22 04:07 bytrangle