@tdi2/di-core
Version:
TypeScript Dependency Injection 2 - Core DI framework
18 lines (17 loc) • 716 B
JavaScript
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
// tools/functional-di-enhanced-transformer/__tests__/__fixtures__/inline-without-destructuring.basic.input.tsx
import React from "react";
function InlineWithoutDestructuring(props) {
React.useEffect(() => {
props.services.api.getData().then((data) => {
props.services.user?.updateProfile(data);
});
}, []);
return /* @__PURE__ */ React.createElement("div", null, "Title: ", props.title);
}
__name(InlineWithoutDestructuring, "InlineWithoutDestructuring");
export {
InlineWithoutDestructuring
};
//# sourceMappingURL=inline-without-destructuring.basic.input.js.map