react-vis icon indicating copy to clipboard operation
react-vis copied to clipboard

Showcase Plot doesn't have link to the code

Open bigbug opened this issue 5 years ago • 1 comments

The example page at http://uber.github.io/react-vis/examples/showcases/plots doesn't show a link to the implementation. Since this is the only chart with legends enabled, this is kinda bad.

Solution: add a link to https://github.com/uber/react-vis/blob/master/packages/showcase/plot/complex-chart.js at https://github.com/uber/react-vis/blob/2ac4544b9ea3abf0861d2a0268f2746301cefdbf/packages/showcase/showcase-sections/plots-showcase.js#L256

The code would probably look like this:

<a {...linkProps} href={exampleLink}>
  {' '}
  View Code
</a>

bigbug avatar Oct 15 '20 08:10 bigbug

#1379

bigbug avatar Oct 15 '20 08:10 bigbug