mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
docs(code-snippet): add multi-line skeleton example
This commit is contained in:
parent
dbb1f9e8a5
commit
096c2c9729
1 changed files with 9 additions and 3 deletions
|
@ -45,12 +45,18 @@ let comment = `
|
||||||
|
|
||||||
<CodeSnippet type="multi" {code} hideCopyButton />
|
<CodeSnippet type="multi" {code} hideCopyButton />
|
||||||
|
|
||||||
### Wrap text
|
### Wrapped text
|
||||||
|
|
||||||
Note that `wrapText` only applies to the `"multi"` type.
|
`wrapText` only applies to the `"multi"` type.
|
||||||
|
|
||||||
<CodeSnippet wrapText type="multi" code="{comment}" />
|
<CodeSnippet wrapText type="multi" code="{comment}" />
|
||||||
|
|
||||||
### Skeleton
|
### Skeleton
|
||||||
|
|
||||||
<CodeSnippet skeleton />
|
The default skeleton type is `"single"`.
|
||||||
|
|
||||||
|
<CodeSnippet skeleton />
|
||||||
|
|
||||||
|
### Skeleton (multi-line)
|
||||||
|
|
||||||
|
<CodeSnippet type="multi" skeleton />
|
Loading…
Add table
Add a link
Reference in a new issue