UNPKG

@piscium2010/v-form

Version:

This is not a form, instead it is only a form shell of which the single responsibility is validating and providing error messages. Capable of definding flexiable rules and validating multi fields at a time.

15 lines (10 loc) 403 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.VFormContext = void 0; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } var VFormContext = _react["default"].createContext({}); exports.VFormContext = VFormContext; VFormContext.displayName = 'VFormContext';