hmcts / design-system

One place for service teams to find styles, components and patterns for designing HMCTS government services.
https://hmcts-design-system.herokuapp.com
MIT License
7 stars 7 forks source link

Non component code views will not require tabs #17

Open trevorsaint opened 6 years ago

trevorsaint commented 6 years ago

We will need a non-tabbed code snippet view for elements that may not require a Nunjucks macro.

GDS do this here: https://design-system.service.gov.uk/styles/typography/

They just expose the code block without tabs. Might be something we need. Just a suggestion.

adamsilver commented 6 years ago

Interesting, so I've now added the Add Another component. It still pulls in the Nunjucks version (but it's just plain HTML anyway. Not a biggie, but perhaps we need to make the example component configurable:

{ nunjucks: true/false }