react-notion-x
react-notion-x copied to clipboard
Add option to hide metadata for collection row pages
How do you remove the notion-collection-row?
I am able to just display: none, but ideally I want to remove it from rendering?
Is there a trick to identify and remove it?
Whether a row is displayed is based on the filtered status in the original Notion document.
Would you mind linking to a public example page where filtering isn't working as expected?
Thanks :)
I am not referring to a table. I am referring to the props at the top of a page. The title, slug, data, all the meta data.
I want the pages content to render, but I don't want the notion meta data to render.
Does that make sense?
Ahhh yep. Currently, there's no way to disable that metadata aside from CSS, but I think makes sense to support disabling it across the board via a top-level option.
Hey 👋 so react-notion-x will now automatically hide any collection row properties that are marked as hidden in Notion.
You can see a live example of this here with the corresponding Notion collection row page here.
Note that in the raw notion version, there are additional collection properties that are hidden from view and this is now reflected by react-notion-x by default.