Skip to content

Commit c19ca8d

Browse files
committed
style
1 parent fefb4f2 commit c19ca8d

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Built using React + TypeScript + Vite
77

88
## running the example
99

10+
Use node 22
11+
1012
In the root folder of the project run
1113

1214
`npm install`

src/App.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const App: React.FC = () => {
122122
type='range'
123123
handleChange={handleChange}
124124
min={0}
125-
max={20}
125+
max={50}
126126
step={1}
127127
defaultValue={0}
128128
/>
@@ -303,13 +303,13 @@ const App: React.FC = () => {
303303
<div style={{
304304
marginLeft: '15px',
305305
width: 750,
306-
whiteSpace: "pre-wrap",
307-
wordBreak: "break-word",
308-
overflowWrap: "anywhere",
309-
maxWidth: "100%",
306+
// whiteSpace: "pre-wrap",
307+
// wordBreak: "break-word",
308+
// overflowWrap: "anywhere",
309+
// maxWidth: "100%",
310310
}}>
311-
<p>State snapshot (debug purposes)</p>
312-
<JsonView data={state} style={{ marginBottom: 40 }} clickToExpandNode={true} shouldExpandNode={collapseAllNested} />
311+
<p>State snapshot (for debug)</p>
312+
<JsonView data={state} clickToExpandNode={true} shouldExpandNode={collapseAllNested} />
313313
</div>
314314
</div>
315315
</div>

0 commit comments

Comments
 (0)