aboutsummaryrefslogtreecommitdiff
path: root/test.jsx
blob: b0e737df395885f777f93791234d8a81c8f5d027 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
var Button = () => {
  return <div className="button">Button!</div>;
};

var Bar = () => {
  return (
    <div prop={1}>
      Plain text
      <div>
        &larr; A child div
        <Button>Red</Button>
      </div>
    </div>
  );
};

var Triple = () => {
  return (
    <div prop={1}>
      Plain text
      <div>
        &larr; A child div
        <Button>Red</Button>
      </div>
    </div>
  );
};