Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More information is needed for CodeSnippet #3717

Closed
barbj opened this issue Aug 29, 2023 · 1 comment
Closed

More information is needed for CodeSnippet #3717

barbj opened this issue Aug 29, 2023 · 1 comment

Comments

@barbj
Copy link

barbj commented Aug 29, 2023

Summary

No information is given about how to achieve any option for CodeSnippet except single.

Relevant information

On https://carbondesignsystem.com/components/code-snippet/usage/ , what are the type options for CodeSnippet?

There's this:
image

But this example is on the page:

<CodeSnippet type="single">node -v</CodeSnippet>

It would help to give information about how to use the tag instead of making you guess.

@sstrubberg
Copy link
Member

hey @barbj You can view all the different variants of CodeSnippet in our Storybook.

https://react.carbondesignsystem.com/?path=/docs/components-codesnippet--overview

@github-project-automation github-project-automation bot moved this from ⏱ Backlog to ✅ Done in Design System Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants