Skip to content

The prop listIndex is marked as required in CustomThemeNodeContentRenderer #2

@svenkle

Description

@svenkle

When I use the provided examples in combination with this theme I receive the errors in the console (see screenshot). The controls appear to work correctly although I'm not 100% sure there isn't an unforeseen issue.

image

In any case, adding listIndex and lowerSiblingCounts to the declaration appears to have resolved the errors but I'm still raising this as an issue to allow others to find a potential solution and also validation that I haven't unknowingly broken internal functionality.

<SortableTree
    // Removed other elements for clarity
    listIndex: 0,
    lowerSiblingCounts: []
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions