Skip to content

Commit 8b57958

Browse files
committed
fix(docs): update mentions of labelText slot
1 parent ed85fe9 commit 8b57958

File tree

6 files changed

+39
-39
lines changed

6 files changed

+39
-39
lines changed

COMPONENT_INDEX.md

Lines changed: 33 additions & 33 deletions
Large diffs are not rendered by default.

docs/src/COMPONENT_API.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2860,7 +2860,7 @@
28602860
{
28612861
"name": "labelText",
28622862
"kind": "let",
2863-
"description": "Specify the label text.\nAlternatively, use the \"labelText\" slot.\n@example \n```svelte\n<ContextMenuOption>\n <span slot=\"labelChildren\">Custom Label</span>\n</ContextMenuOption>\n```",
2863+
"description": "Specify the label text.\nAlternatively, use the \"labelChildren\" slot.\n@example \n```svelte\n<ContextMenuOption>\n <span slot=\"labelChildren\">Custom Label</span>\n</ContextMenuOption>\n```",
28642864
"type": "string",
28652865
"value": "\"\"",
28662866
"isFunction": false,
@@ -14713,7 +14713,7 @@
1471314713
{
1471414714
"name": "labelText",
1471514715
"kind": "let",
14716-
"description": "Specify the label text.\nAlternatively, use the \"labelText\" slot.\n@example \n```svelte\n<Slider>\n <span slot=\"labelChildren\">Custom Label</span>\n</Slider>\n```",
14716+
"description": "Specify the label text.\nAlternatively, use the \"labelChildren\" slot.\n@example \n```svelte\n<Slider>\n <span slot=\"labelChildren\">Custom Label</span>\n</Slider>\n```",
1471714717
"type": "string",
1471814718
"value": "\"\"",
1471914719
"isFunction": false,

src/ContextMenu/ContextMenuOption.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
2121
/**
2222
* Specify the label text.
23-
* Alternatively, use the "labelText" slot.
23+
* Alternatively, use the "labelChildren" slot.
2424
* @example
2525
* ```svelte
2626
* <ContextMenuOption>

src/Slider/Slider.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
5555
/**
5656
* Specify the label text.
57-
* Alternatively, use the "labelText" slot.
57+
* Alternatively, use the "labelChildren" slot.
5858
* @example
5959
* ```svelte
6060
* <Slider>

types/ContextMenu/ContextMenuOption.svelte.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ type $Props = {
3131

3232
/**
3333
* Specify the label text.
34-
* Alternatively, use the "labelText" slot.
34+
* Alternatively, use the "labelChildren" slot.
3535
* @example
3636
* ```svelte
3737
* <ContextMenuOption>

types/Slider/Slider.svelte.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ type $Props = {
9797

9898
/**
9999
* Specify the label text.
100-
* Alternatively, use the "labelText" slot.
100+
* Alternatively, use the "labelChildren" slot.
101101
* @example
102102
* ```svelte
103103
* <Slider>

0 commit comments

Comments
 (0)