Sha256: 7c447844df3682dfd991b363436d9d0f310737d984dd5bbdd6b003d82f344749
Contents?: true
Size: 268 Bytes
Versions: 2
Compression:
Stored size: 268 Bytes
Contents
export default function(Component) { return { enhance: function(element) { ReactDOM.render(React.createElement(Component, { resolverSeed: { events: pageflow.events, ...pageflow.seed } }), element[0]); } }; };
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pageflow-react-0.1.1 | js/src/create_widget_type.js |
pageflow-react-0.1.0 | js/src/create_widget_type.js |