Skip to content

Commit 1b34947

Browse files
Improve readability in code example
Co-authored-by: Claudia Meadows <[email protected]>
1 parent 18c8d03 commit 1b34947

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/jsx.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ const ChildComponent = TsClosureComponent<Attributes>(vNode => {
323323

324324
function ParentComponent() {
325325
return {
326-
view: () => <div><ChildComponent greet="Hello World"/></div>
326+
view: () => <div>
327+
<ChildComponent greet="Hello World"/>
328+
</div>
327329
};
328330
}
329331

0 commit comments

Comments
 (0)