docs(code-snippet): add multi-line skeleton example

This commit is contained in:
Eric Liu 2020-10-22 08:57:57 -07:00
commit 096c2c9729

View file

@ -45,12 +45,18 @@ let comment = `
<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}" />
### Skeleton
<CodeSnippet skeleton />
The default skeleton type is `"single"`.
<CodeSnippet skeleton />
### Skeleton (multi-line)
<CodeSnippet type="multi" skeleton />