mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
feat(recursive-list): rename items prop to children
This commit is contained in:
parent
92301b1d46
commit
38d14562bb
4 changed files with 25 additions and 26 deletions
|
@ -7869,10 +7869,10 @@
|
|||
"filePath": "src/RecursiveList/RecursiveList.svelte",
|
||||
"props": [
|
||||
{
|
||||
"name": "items",
|
||||
"name": "children",
|
||||
"kind": "let",
|
||||
"description": "Specify the items to render",
|
||||
"type": "Array<Item & { items?: Item[]; }>",
|
||||
"description": "Specify the children to render",
|
||||
"type": "Array<RecursiveListNode & { children?: RecursiveListNode[]; }>",
|
||||
"value": "[]",
|
||||
"isFunction": false,
|
||||
"constant": false,
|
||||
|
@ -7904,8 +7904,8 @@
|
|||
"typedefs": [
|
||||
{
|
||||
"type": "{ text?: string; href?: string; html?: string; }",
|
||||
"name": "Item",
|
||||
"ts": "interface Item { text?: string; href?: string; html?: string; }"
|
||||
"name": "RecursiveListNode",
|
||||
"ts": "interface RecursiveListNode { text?: string; href?: string; html?: string; }"
|
||||
}
|
||||
],
|
||||
"rest_props": { "type": "InlineComponent", "name": "svelte:component" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue