UNPKG

@douyinfe/semi-ui

Version:

A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.

17 lines (16 loc) 895 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FormUpdaterContext = exports.FormStateContext = exports.FormApiContext = exports.ArrayFieldContext = void 0; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } const FormStateContext = exports.FormStateContext = /*#__PURE__*/_react.default.createContext({}); FormStateContext.displayName = 'FormState'; const FormApiContext = exports.FormApiContext = /*#__PURE__*/_react.default.createContext({}); FormApiContext.displayName = 'FormApi'; const FormUpdaterContext = exports.FormUpdaterContext = /*#__PURE__*/_react.default.createContext({}); FormUpdaterContext.displayName = 'FormUpdater'; const ArrayFieldContext = exports.ArrayFieldContext = /*#__PURE__*/_react.default.createContext({ shouldUseInitValue: true });