aboutsummaryrefslogtreecommitdiff
path: root/test/formatters/samplecode/denofmt-jsx/in.jsx
blob: 1895e85433134adab4caf66433e2e727a2ca0ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
const Foo = ({name,
              test}
            ) => {
  return  <>
            <h1>hello, {name}</h1>
 <div>{test}</div>
    </>
;
};

const Bar = () => {
  return (
    <>
 <Foo name="aaa" test="bbb" />
      </>
  )
}