UNPKG

ra-core

Version:

Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React

14 lines 531 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useFormGroups = void 0; var react_1 = require("react"); var FormGroupsContext_1 = require("./FormGroupsContext"); /** * Retrieve the form groups management context. Used by inputs to register themselves into a form group. */ var useFormGroups = function () { var context = (0, react_1.useContext)(FormGroupsContext_1.FormGroupsContext); return context; }; exports.useFormGroups = useFormGroups; //# sourceMappingURL=useFormGroups.js.map