We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4085536 commit 79b0f8dCopy full SHA for 79b0f8d
docs/src/pages/components/CodeSnippet.svx
@@ -84,6 +84,12 @@ Set `hideCopyButton` to `true` to hide the copy button.
84
85
<CodeSnippet type="multi" {code} hideCopyButton />
86
87
+## Hidden show more button
88
+
89
+Only multi-line code snippets have a "Show more" button by default. Set `showMoreLess` to `false` to hide it.
90
91
+<CodeSnippet type="multi" {code} showMoreLess={false} />
92
93
## Disabled
94
95
The `disabled` prop applies only to the `"single"` and `"multi"` code snippet types.
0 commit comments