@helpwave/hightide
Version:
helpwave's component and theming library
14 lines • 299 B
JavaScript
// src/util/PropsWithFunctionChildren.ts
var resolve = (children, bag) => {
if (typeof children === "function") {
return children(bag);
}
return children ?? void 0;
};
var BagFunctionUtil = {
resolve
};
export {
BagFunctionUtil
};
//# sourceMappingURL=PropsWithFunctionChildren.mjs.map