Skip to content

Example of how to use indexSearch? #149

@filburt-turle

Description

@filburt-turle
indexSearch: (searchTerm: string, nodes: FlattenedNode[]) => (node: FlattenedNode) => boolean;

I see the structure, but I'm wondering if someone could provide an example of a baseline version of a custom function for this prop. There's no documentation around how to use this I see the final result from this function is a boolean, but an example would clarify this better for me.

Thanks in advanced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions