mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(code-snippet): showMoreLess={false}
should hide button
Fixes #1536 If `showMoreLess` is explicitly `false` for multi-line code snippets, the button should not be shown at all.
This commit is contained in:
parent
17f4c49519
commit
4085536189
4 changed files with 23 additions and 9 deletions
|
@ -1193,9 +1193,9 @@
|
|||
{
|
||||
"name": "showMoreLess",
|
||||
"kind": "let",
|
||||
"description": "Set to `true` to enable the show more/less button",
|
||||
"description": "Set to `false` to hide the show more/less button\n\nNOTE: this prop only works with the `type=\"multi\"` variant",
|
||||
"type": "boolean",
|
||||
"value": "false",
|
||||
"value": "true",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue