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

Applying Styles To Keys & Values Conditionally?

Open naumanzchaudhry opened this issue 5 years ago • 1 comments

@mac-s-g . Thanks for the module . Pretty useful.

I was wondering if there is a way where I can style keys & values from my json based on some condition? e.g Assign a class to key or value based on a condition (e.g value === 'something' then assign a class)

naumanzchaudhry avatar Feb 17 '20 11:02 naumanzchaudhry

Need same props or options to change color of keys and values. As default red color to string values indicate something different in my case

AbhaysinghBhosale avatar Nov 24 '21 04:11 AbhaysinghBhosale