The JsonRecordViewer
component displays JSON data that is passed to it.
npm i @anakin-gbit/json-record-viewer
<JsonRecordViewer
title="User Data"
data={{
name: 'John Doe',
age: 30,
location: { state: 'New York', city: 'New York' },
hobbies: ['Reading', 'Writing'],
}}
/>
title
string
| Default: 'Record Viewer'
data
object | array
| Required | Default: Default error message if no data is provided.