Lightweight Json view component for React. Contribute to AnyRoad/react-json-view-lite development by creating an account on GitHub.
import * as React from 'react'; import { JsonView, allExpanded, darkStyles, defaultStyles } from 'react-json-view-lite'; import 'react-json-view-lite/dist/index.css'; const json = { a: 1, b: 'example' }; const App = () => { return ( <React.Fragment> <JsonView data={json...
Breadcrumbs react-json-view-lite /src / index.tsxTop File metadata and controls Code Blame 80 lines (75 loc) · 2.5 KB Raw import * as React from 'react'; import DataRender, { StyleProps } from './DataRenderer'; import styles from './styles.module.css'; export interface Props exten...
Breadcrumbs react-json-view-lite/ CHANGELOG.mdLatest commit HistoryHistoryFile metadata and controls Preview Code Blame 86 lines (48 loc) · 2.31 KB Raw1.4.0 New Feature Click on field name to expand node 1.3.1 Bug Fixes Fixed pressing the spacebar expands/collapses and "pages down" in th...
This PR contains the following updates: Package Change Age Adoption Passing Confidence react-json-view-lite 2.0.1 -> 2.1.0 Release Notes AnyRoad/react-json-view-lite (react-json-vie...
Just wanted to report that upgrading the lib minor version to 1.5 was kind of a breaking change, at least in terms of TS types: I had to modify our code to upgrade. import { JsonView, defaultStyles, type Props as JsonViewProps, } from 'react-json-view-lite'; import styles from '....
or at least provide the option to turn it off. this could be done with css, if necessary. react-json-view-lite/src/DataRenderer.tsx Line 185 in cb6558c stringValue = `"${value}"`; going further, punctuation could also be styled.
Add React 19 in peer dependencies Fix #34 According to #34 (comment) all the people that tried React 19 with this lib reported no problem. I took a look at the code and couldn't find any code that ...
Cancel Create saved search Sign in Sign up {{ message }} AnyRoad / react-json-view-lite Public Notifications You must be signed in to change notification settings Fork 10 Star 134 Code Issues 3 Pull requests 1 Actions Projects ...
react-json-view-lite src DataRenderer.tsx onrelease User selector All users DatepickerAll time Commit History Commits on Apr 27, 2024 implement clickToExpandNode; add docs, default style, and test gregsadetskycommittedApr 28, 2024 3c3fa36 Commits on Apr 26, 2024 fix for space bar paging...