feat(recursive-list): integrate RecursiveList with v11 (#1960)

This commit is contained in:
Eric Liu 2024-04-21 14:36:21 -07:00 committed by GitHub
commit 1c3478f1bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 26 deletions

View file

@ -14,7 +14,9 @@ export interface RecursiveListProps extends RestProps {
* Specify the children to render
* @default []
*/
children?: Array<RecursiveListNode & { children?: RecursiveListNode[] }>;
children?: ReadonlyArray<
RecursiveListNode & { children?: ReadonlyArray<RecursiveListNode> }
>;
/**
* Specify the type of list to render