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";
41
41
42
42
function Example() {
43
43
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>
54
48
);
55
49
}
56
50
```
@@ -69,13 +63,13 @@ import { ChunkCollection, ChunkProperty } from "editmode-react";
69
63
70
64
function Example() {
71
65
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>
79
73
);
80
74
}
81
75
```
You can’t perform that action at this time.
0 commit comments