☰
Debian Codegraph
@
8.0.6+ds1+~cs177.303.116-1
8.0.4+ds1+~cs177.303.116-3
7.20.15+ds1+~cs214.269.168-17
/
/
packages
/
babel-plugin-transform-react-constant-elements
/
test
/
fixtures
/
integration
/
issue-10879-babel-7
/
input.mjs
☽
☼
packages/babel-plugin-transform-react-constant-elements/test/fixtures/integration/issue-10879-babel-7/input.mjs
code
plain
raw
Expat
2014-present, Sebastian McKenzie <
[email protected]
>
debian/copyright
1
import React from 'react';
2
3
const namespace = {
4
MyComponent: (props) => props.name
5
};
6
7
const buildTest = (name) => {
8
const { MyComponent } = namespace;
9
return () => (
10
<MyComponent name={name} />
11
);
12
}