ra-core
Version:
Core components of react-admin, a frontend Framework for building admin applications on top of REST services, using ES6, React
10 lines • 442 B
JavaScript
import { createContext } from '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.
*/
export var FormGroupContext = createContext(null);
//# sourceMappingURL=FormGroupContext.js.map