Skip to content

Commit c7f83db

Browse files
committed
🕕
1 parent d4768f0 commit c7f83db

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,22 @@ var Index = React.createClass({
6969
return (
7070
<div>
7171
<Node if={true} then='true' />
72+
<Node if={true} then={1+1} />
73+
<Node if={true} then={Bar} />
74+
<Node if={true} then={<Bar prop='test' />} />
75+
<Node if={true} then={function() { return 'test'; }} />
7276

7377
<Node if={true} then='true' else='false' />
74-
7578
<Node if={false} then='true' else='false' />
7679

7780
<Node if={true} then={1+1} else={0+0} />
81+
<Node if={false} then={1+1} else={0+0} />
7882

7983
<Node if={true} then={Bar} else={Foo} />
80-
8184
<Node if={false} then={Bar} else={Foo} />
8285

8386
<Node if={true} then={<Bar one='1' two='2' />} else={<Foo one='1' two='2' />} />
87+
<Node if={false} then={<Bar one='1' two='2' />} else={<Foo one='1' two='2' />} />
8488

8589
<Node if={true}>
8690
<b>true</b>

README.ru.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,18 +69,22 @@ var Index = React.createClass({
6969
return (
7070
<div>
7171
<Node if={true} then='true' />
72+
<Node if={true} then={1+1} />
73+
<Node if={true} then={Bar} />
74+
<Node if={true} then={<Bar prop='test' />} />
75+
<Node if={true} then={function() { return 'test'; }} />
7276

7377
<Node if={true} then='true' else='false' />
74-
7578
<Node if={false} then='true' else='false' />
7679

7780
<Node if={true} then={1+1} else={0+0} />
81+
<Node if={false} then={1+1} else={0+0} />
7882

7983
<Node if={true} then={Bar} else={Foo} />
80-
8184
<Node if={false} then={Bar} else={Foo} />
8285

8386
<Node if={true} then={<Bar one='1' two='2' />} else={<Foo one='1' two='2' />} />
87+
<Node if={false} then={<Bar one='1' two='2' />} else={<Foo one='1' two='2' />} />
8488

8589
<Node if={true}>
8690
<b>true</b>

0 commit comments

Comments
 (0)