MCPcopy Create free account
hub / github.com/ctrlplusb/react-injectables / StatelessComponentInjection

Function StatelessComponentInjection

test/Injector.test.js:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31 it(`It should allow a stateless component for the injection`, () => {
32 const StatelessComponentInjection = () => <div>bar</div>;
33 const InjectorBob = Injector({
34 into: ValidInjectable
35 })(StatelessComponentInjection);
36 assertIsValidInjector(InjectorBob);
37 });
38

Callers

nothing calls this directly

Calls 1

InjectorFunction · 0.85

Tested by

no test coverage detected