UNPKG

ra-core

Version:

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

13 lines 557 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormGroupContext = void 0; var react_1 = require("react"); /** * Context allowing inputs to register to a specific group. * This enables other components in the group to access group properties such as its * validation (valid/invalid) or whether its inputs have been updated (dirty/pristine). * * This should only be used through a FormGroupContextProvider. */ exports.FormGroupContext = (0, react_1.createContext)(null); //# sourceMappingURL=FormGroupContext.js.map