@react-form-builder/core
Version:
React JSON Schema Form Builder to create complex, validated, reusable forms with no deep React knowledge required
13 lines (12 loc) • 325 B
JavaScript
import { ActionDefinition as i } from "../event/ActionDefinition.js";
function e(n) {
if (!n) return;
const o = {};
return Object.entries(n).forEach(([c, t]) => {
o[c] = t instanceof i ? t : i.functionalAction(t);
}), o;
}
export {
e as customActionsToActionsValues
};
//# sourceMappingURL=CustomActions.js.map