11 lines
345 B
JavaScript
11 lines
345 B
JavaScript
function render(_ref) {
|
|
var _Component;
|
|
|
|
let text = _ref.text,
|
|
className = _ref.className,
|
|
id = _ref.id,
|
|
props = babelHelpers.objectWithoutProperties(_ref, ["text", "className", "id"]);
|
|
// intentionally ignoring props
|
|
return () => _Component || (_Component = <Component text={text} className={className} id={id} />);
|
|
}
|