feat(code-snippet): add wrapText prop

This commit is contained in:
Eric Liu 2020-10-15 16:48:37 -07:00
commit 48bd19f75e
4 changed files with 32 additions and 2 deletions

7
types/index.d.ts vendored
View file

@ -387,6 +387,13 @@ export class CodeSnippet extends CarbonSvelteComponent {
*/
hideCopyButton?: boolean;
/**
* Set to `true` to wrap the text
* Note that `type` must be "multi"
* @default false
*/
wrapText?: boolean;
/**
* Set to `true` to enable the light variant
* @default false