Skip to content

Commit 316fedf

Browse files
authored
Update README.md
1 parent 7d2b196 commit 316fedf

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

README.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,10 @@ import { Chunk } from "editmode-react";
4141
4242
function Example() {
4343
return (
44-
<div>
45-
<p>
46-
<Chunk identifier="cnk_123"/>
47-
</p>
48-
<p>
49-
<Chunk identifier="cnk_321">
50-
I have default content
51-
</Chunk>
52-
</p>
53-
</div>
44+
<div>
45+
<p> <Chunk identifier="cnk_123"/> </p>
46+
<p> <Chunk identifier="cnk_321"> I have default content </Chunk> </p>
47+
</div>
5448
);
5549
}
5650
```
@@ -69,13 +63,13 @@ import { ChunkCollection, ChunkProperty } from "editmode-react";
6963
7064
function Example() {
7165
return (
72-
<section className="meet_the_team">
73-
<ChunkCollection identifier="lst_123" className="team_member">
74-
<h2><ChunkProperty identifier="prop_001" className="name"/><h2>
75-
<h5><ChunkProperty identifier="prop_002" className="title"/></h5>
76-
<ChunkProperty identifier="prop_003" className="headshot"/>
77-
</ChunkCollection>
78-
</section>
66+
<section className="meet_the_team">
67+
<ChunkCollection identifier="lst_123" className="team_member">
68+
<h2> <ChunkProperty identifier="prop_001" className="name"/> <h2>
69+
<h5> <ChunkProperty identifier="prop_002" className="title"/> </h5>
70+
<ChunkProperty identifier="prop_003" className="headshot"/>
71+
</ChunkCollection>
72+
</section>
7973
);
8074
}
8175
```

0 commit comments

Comments
 (0)