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

Ability to override header?

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

https://github.com/NotionX/react-notion-x/blob/015c6816c0d63743e1b57272373457022daacba5/packages/react-notion-x/src/context.tsx#L79

In NotionRenderer, if fullPage is set to true, the rendered html will include a <header> element that includes breadcrumbs. AFAICT there is no way to override this <header> and still keeping fullPage = {true}.

A scenario when users may want to set fullPage to true and rewrite <header>: use Notion as a basic CMS only. That's when the default breadcrumbs won't apply.

What do you think?

bytrangle avatar Jun 30 '22 16:06 bytrangle