starter-portfolio-cara: Can't pass new props from MDX to ProjectCard #602
-
DescriptionI created a new file for Steps to reproduceI'm using the theme for a personal website (https://github.com/dhrumilp15/dhrumilp15.github.io).
becomes
I've also added an `import ProjectCard from '../components/project-card'; at the top of that file. (I'll create a test branch for this issue on my repository.) Expected resultThe value for Actual resultThe value for Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
I've added the spreading of the props to the new major release that I'll publish: #599 Then you don't have to shadow the |
Beta Was this translation helpful? Give feedback.
Hey there, I had this issue and figured out how to resolve it. As mentioned in the readme, you have to shadow the file components.js within src/gatsby-plugin-theme-ui. Within your own directory this goes here:
These are the contents of my revised components.js that allows new props: