react-json-view icon indicating copy to clipboard operation
react-json-view copied to clipboard

Add custom buttons to rows according to value type

Open n1c0de opened this issue 6 months ago • 4 comments

This feature adds custom buttons to each row in the JSON viewer, depending on the value type of the row (e.g., string, number, object, etc.).

The feature was previously suggested by @chad-autry in this issue : mac-s-g/react-json-view#354.

Summary of changes:

  • Custom buttons are rendered for each row based on its value type
  • Developers can provide their own button components via a new prop
  • Includes tests

This enhancement allows for more interactive and actions between an application and this module.

n1c0de avatar May 26 '25 14:05 n1c0de