NotionX / react-notion-x

Fast and accurate React renderer for Notion. TS batteries included. ⚡️
https://react-notion-x-demo.transitivebullsh.it
MIT License
4.87k stars 570 forks source link

How to use custom styles for the notion components? #415

Open Launchpad5682 opened 1 year ago

Launchpad5682 commented 1 year ago

Description

I'm trying to use the custom styles in react-notion-x but couldn't find a provision around it in the documentation. One way, I found is to replace the react-notion-x/src/styles.css with the custom style.css file with the same variable names. Is it the only way?

Thanks!

dinhanhthi commented 1 year ago

Same question!