mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
8 lines
219 B
JavaScript
8 lines
219 B
JavaScript
function render(_ref) {
|
|
var _Component;
|
|
let text = _ref.text,
|
|
className = _ref.className,
|
|
id = _ref.id;
|
|
return () => _Component || (_Component = <Component text={text} className={className} id={id} />);
|
|
}
|