Skip to content

Commit

Permalink
chore(docs): add link to CodeSnippet prop documentation (#7653)
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Feb 22, 2021
1 parent bb01780 commit 1a721cc
Showing 1 changed file with 5 additions and 3 deletions.
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

0 comments on commit 1a721cc

Please sign in to comment.