validator.js 512 B

1234567891011121314
  1. 'use strict';
  2. Object.defineProperty(exports, '__esModule', { value: true });
  3. require('../../constants/index.js');
  4. var size = require('../../constants/size.js');
  5. var date = require('../../constants/date.js');
  6. const isValidComponentSize = (val) => ["", ...size.componentSizes].includes(val);
  7. const isValidDatePickType = (val) => [...date.datePickTypes].includes(val);
  8. exports.isValidComponentSize = isValidComponentSize;
  9. exports.isValidDatePickType = isValidDatePickType;
  10. //# sourceMappingURL=validator.js.map