Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Prop injector
function injectProps(options) {
return function(InitialComponent) {
return function DndStateInjector() {
return <InitialComponent {...options} />;
};
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment