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

displayDataTypes and displayObjectSize is always true

Open andrehtgti2 opened this issue 5 years ago • 3 comments

I am trying to change displayDataTypes and displayObjectSize to false but the these information isalways shown

ReactJson displayDataTypes=false displayObjectSize=false src={jsonF} />

ReactJson displayDataTypes={false} displayObjectSize={false} src={jsonF} />

image

andrehtgti2 avatar Mar 30 '20 22:03 andrehtgti2

same error too

hisvarlar avatar Apr 03 '20 10:04 hisvarlar

same error. It works for me if I use it like: displayDataTypes={false}

semmgeorge avatar Dec 08 '20 11:12 semmgeorge

This works for me:

<ReactJson
  src={response.results}
  name={null}
  iconStyle="square"
  displayDataTypes={false}
  displayObjectSize={false}
/>

oebilgen avatar Oct 23 '22 00:10 oebilgen