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.
10 lines
396 B
10 lines
396 B
1 month ago
|
import '../../constants/index.mjs';
|
||
|
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
|