Copy link to clipboard
I have a simple breadcrumb component that I put together. Example: (Component 1)
Home page > Task List
When I dive deeper in the site it looks like this:
Home page > Task List > Details
I would like to create second component (component 2) that "inherits" from Component 1.
I could then easily override the "Details" link in Component 2 with various pages that appear in details. Example:
Home page > Task List > Notes
Home page > Task List > Documents
Home page > Task List > Communication
I have tried, and it appears to work, however in new Component 2 which effectively "inherits" from Component 1, the Home Page & Task List links break.
Is what I am doing possible?
XD allows me to do this, but it seems to break the links.
Hi, if I'm not missing something, I tried to simulate the situation here and links look like working in the way I did in my example. You can see the video: https://www.dropbox.com/s/8v4beyd7ywo4xos/component-in-a-component-test.mp4?dl=0And the sample file: https://www.dropbox.com/s/hecz9dsh52d63iv/component-in-a-component-test.xd?dl=0
Hope this helps.
Thank you for your response. I was unable to open either of your links (500 error), but it did prompt me to try this again with a fresh cup of coffee and it worked exactly as you said.
Hi @Doug21784293dvss , you're welcome, glad you resolved the issue!