question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Links in Props component description

See original GitHub issue

Is it possible to add links to the PropsTable description?

I need something like this:

MyComponent.propTypes = {
  ...
  /** Any language supported in [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer/blob/master/src/vendor/prism/includeLangs.js) */
  lang: PropTypes.string,
  ...
};

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
cupofjoakimcommented, Oct 2, 2019

@rakannimer Thanks for replying, that’s awesome!

1reaction
rakannimercommented, Oct 1, 2019

Hey @cupofjoakim,

Sorry for closing the issue without explanation. I bulk-closed issues with no activity in the last 4 months to be able to focus on more recent, active and actionable issues. In hindsight, I see this was not a great idea, as some people, understandably, took it as a dismissal of their work. This was not my intent.

This issue relates to docz < v2 (PropsTable vs Props) I’m going to add it as a feature request to docz v2 and hopefully someone could work on it in the near future.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Pass Props Through React Router's Link Component
In this up-to-date post, you'll learn how to pass data through React Router's Link component to a new route.
Read more >
Pass props in Link react-router - Stack Overflow
Precisely what the documentation says. However, I have a case where DESPITE defining the Route as above, and configuring the LINK to pass...
Read more >
Passing Props through Link in react-router - Daggala
That means that passing props through Link is an excellent way to give your component some props based on where you were before...
Read more >
Link - React Router: Declarative Routing for React.js
A string representation of the Link location, created by concatenating the location's ... component, you can do so by passing it through the...
Read more >
Pass Props to React Router's Link Component - Medium
URL parameters work great for strings, but break down after that. By making the Link s to prop an object, you can pass...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found