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

chore(docs): add link to CodeSnippet prop documentation #7653

Merged
merged 3 commits into from
Feb 22, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/react/src/components/CodeSnippet/CodeSnippet.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ name or similar small piece of code from it's surrounding text.

Multiple line code snippets are used for displaying code with more than one
line. They're shown in a block and useful for showing classes, functions, blocks
of styles and the like. There is an option to wrap the lines displayed if the lines
are longer than the container.
of styles and the like. There is an option to wrap the lines displayed if the
lines are longer than the container.

<Preview>
<Story id="codesnippet--multiline" />
Expand All @@ -74,7 +74,9 @@ invocations, expressions etc.

## Component API

<Props />
We are investigating why props for this component are not displaying properly.
Until then, the props for this component can be viewed
[here](https://github.com/carbon-design-system/carbon/blob/master/packages/react/src/components/CodeSnippet/CodeSnippet.js#L202-L278)

## Feedback

Expand Down