mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
feat(recursive-list): rename children
prop to nodes
for Svelte 5 compatibility
This commit is contained in:
parent
44486080b8
commit
242e2fcbdf
5 changed files with 19 additions and 19 deletions
|
@ -11,10 +11,10 @@ type $RestProps = SvelteHTMLElements["ul"] & SvelteHTMLElements["ol"];
|
|||
|
||||
type $Props = {
|
||||
/**
|
||||
* Specify the children to render
|
||||
* Specify the nodes to render
|
||||
* @default []
|
||||
*/
|
||||
children?: Array<RecursiveListNode & { children?: RecursiveListNode[] }>;
|
||||
nodes?: Array<RecursiveListNode & { nodes?: RecursiveListNode[] }>;
|
||||
|
||||
/**
|
||||
* Specify the type of list to render
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue