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...
AnyRoad/react-json-view-lite (react-json-view-lite) v1.5.0 Compare Source Bug Fixes Fixed: Improves empty objects and empty arrays. Also fixes too wide space between two spans having thepunctuationclass (e.g.] ,or[ ]) Configuration
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.
BreadcrumbsHistory for react-json-view-lite .gitignore onrelease User selector All users DatepickerAll time Commit History Commits on Sep 3, 2023 updates storybook, yarn, typescript versions AnyRoadcommittedSep 3, 2023 6f915f3 Commits on Oct 10, 2022 adds storybook and story for JsonView AnyRo...
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...