mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
docs: tweak body copy, link to CopyableCodeSnippet recipe
This commit is contained in:
parent
9edb0c2f31
commit
f5509060d5
8 changed files with 24 additions and 11 deletions
|
@ -1,9 +1,11 @@
|
|||
<script>
|
||||
import { CopyButton, InlineNotification } from "carbon-components-svelte";
|
||||
import { CopyButton, InlineNotification, Link } from "carbon-components-svelte";
|
||||
import Preview from "../../components/Preview.svelte";
|
||||
</script>
|
||||
|
||||
<InlineNotification svx-ignore title="Note:" subtitle="By design, the copy button does not copy text to the clipboard. You will need to write your own logic." kind="info" hideCloseButton />
|
||||
<InlineNotification svx-ignore title="Note:" kind="info" hideCloseButton>
|
||||
<div class="body-short-01">By design, the copy button does not copy text to the clipboard. You will need to write your own logic. Refer to the <Link href="/recipes/CopyableCodeSnippet">CopyableCodeSnippet recipe</Link> for an example.</div>
|
||||
</InlineNotification>
|
||||
|
||||
### Default
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue