1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | 'use strict';
|
12 |
|
13 | var React = require('react');
|
14 |
|
15 | function EntryPointContainer(_ref) {
|
16 | var entryPointReference = _ref.entryPointReference,
|
17 | props = _ref.props;
|
18 | var getComponent = entryPointReference.getComponent,
|
19 | queries = entryPointReference.queries,
|
20 | entryPoints = entryPointReference.entryPoints,
|
21 | extraProps = entryPointReference.extraProps;
|
22 | var Component = getComponent();
|
23 | return React.createElement(Component, {
|
24 | entryPoints: entryPoints,
|
25 | extraProps: extraProps,
|
26 | props: props,
|
27 | queries: queries
|
28 | });
|
29 | }
|
30 |
|
31 | module.exports = EntryPointContainer; |
\ | No newline at end of file |