Skip to content

Commit

Permalink
#6 fixes css style for comma after primitive type value
Browse files Browse the repository at this point in the history
  • Loading branch information
AnyRoad committed May 19, 2023
1 parent 15678e9 commit 70c9dac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-json-view-lite",
"version": "0.9.5",
"version": "0.9.6",
"description": "JSON viewer component for React focused on performance for large volume input while still providing few customiziation features",
"homepage": "http://anyroad.github.io/react-json-view-lite",
"author": "AnyRoad",
Expand Down
2 changes: 1 addition & 1 deletion src/DataRenderer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function JsonPrimitiveValue({
<div className={style.basicChildStyle} role='listitem'>
{field && <span className={style.label}>{field}:</span>}
<span className={valueStyle}>{stringValue}</span>
{!lastElement && <span className={style.label}>,</span>}
{!lastElement && <span className={style.punctuation}>,</span>}
</div>
);
}
Expand Down

0 comments on commit 70c9dac

Please sign in to comment.