Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.
This repository was archived by the owner on May 14, 2020. It is now read-only.

Possible mistype #102

Open
Open
@ziflex

Description

@ziflex

I have notice that valueRenderer receives a values twice as arg1 and arg2.

https://github.com/alexkuz/react-json-tree/blob/master/src/JSONValueNode.js#L22

Shouldn't nodeType be send as the 2nd arg?

<span {...styling('valueText', nodeType, keyPath)}>
  {valueRenderer(valueGetter(value), nodeType, ...keyPath)}
</span>

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