File tree Expand file tree Collapse file tree 1 file changed +11
-17
lines changed
Expand file tree Collapse file tree 1 file changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,10 @@ import { Chunk } from "editmode-react";
4141
4242function 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
7064function 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```
You can’t perform that action at this time.
0 commit comments