hongluan-business-ui
Version:
Hongluan Business Component Library for Vue 3
17 lines (12 loc) • 499 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
var constants = require('./constants.js');
const isValidComponentSize = (val) => {
return [...constants.COMPONENT_SIZE, null, void 0, ""].includes(val);
};
const isValidComponentType = (val) => {
return [...constants.COMPONENT_TYPE, null, void 0, ""].includes(val);
};
exports.isValidComponentSize = isValidComponentSize;
exports.isValidComponentType = isValidComponentType;
//# sourceMappingURL=validators.js.map