mapbox / dr-ui

Design system for docs.mapbox.com

Home Page:https://mapbox.github.io/dr-ui/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `DemoLink` component to the `mapbox.github.io/dr-ui/components/` library

domlet opened this issue · comments

Is your feature request related to a problem? Please describe.

I wanted to send colleagues from our Imagery team to the https://mapbox.github.io/dr-ui/components/ library so they could see the DemoLink component, but it does not appear in this library.

Describe the solution you'd like

Can we add the DemoLink component to https://mapbox.github.io/dr-ui/components/ library ?

Describe alternatives you've considered

I could just share descriptive text like this.

Additional context

@katydecorah says:

It will helpful to know if this component is needed for one or many repos
if it's only used in /help then it should likely stay in help

@domlet since this component is only used in /help right now, how about adding documentation to https://github.com/mapbox/help/blob/publisher-production/docs/components.md?

Here's a great example for DemoIframe: https://github.com/mapbox/help/blob/publisher-production/docs/components.md#demo-iframe