From 41cb74646b5652510c2057a018ef0bf328cf6755 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 5 Dec 2020 15:13:00 -0800 Subject: [PATCH] fix(code-snippet-skeleton): CodeSnippetSkeleton can only be single or multi --- COMPONENT_INDEX.md | 6 +++--- docs/src/COMPONENT_API.json | 2 +- src/CodeSnippet/CodeSnippetSkeleton.svelte | 4 ++-- types/CodeSnippet/CodeSnippetSkeleton.d.ts | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 67be07a2..eb08c7fe 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -527,9 +527,9 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :-------- | :--------------- | :------- | :--------------------------------------------------- | --------------------- | ---------------------------- | -| type | let | No | "single" | "inline" | "multi" | "single" | Set the type of code snippet | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :-------- | :--------------- | :------- | :----------------------------------- | --------------------- | ---------------------------- | +| type | let | No | "single" | "multi" | "single" | Set the type of code snippet | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 39dc765f..7cfeb99f 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -1889,7 +1889,7 @@ "name": "type", "kind": "let", "description": "Set the type of code snippet", - "type": "\"single\" | \"inline\" | \"multi\"", + "type": "\"single\" | \"multi\"", "value": "\"single\"", "isFunction": false, "constant": false, diff --git a/src/CodeSnippet/CodeSnippetSkeleton.svelte b/src/CodeSnippet/CodeSnippetSkeleton.svelte index 5e10dbb1..70d550bb 100644 --- a/src/CodeSnippet/CodeSnippetSkeleton.svelte +++ b/src/CodeSnippet/CodeSnippetSkeleton.svelte @@ -1,14 +1,14 @@