Skip to content

scrollToId should accept number | string. currently only accepts number.  #134

@mateodelnorte

Description

@mateodelnorte

Hi there. Thanks for this library.

It looks like the signature for scrollToId should either accept NodeId as a parameter or both string || number as NodeId may be a string or a number:

https://github.com/diogofcunha/react-virtualized-tree/blob/master/index.d.ts#L6

It currently only accepts number.

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