You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
360 B
8 lines
360 B
import { componentSizes } from '../../constants/size.mjs';
|
|
import { datePickTypes } from '../../constants/date.mjs';
|
|
|
|
const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
|
|
const isValidDatePickType = (val) => [...datePickTypes].includes(val);
|
|
|
|
export { isValidComponentSize, isValidDatePickType };
|
|
//# sourceMappingURL=validator.mjs.map
|