other components... (2)

This commit is contained in:
Paolo Arena
2021-09-16 21:08:02 +02:00
parent fcc4f61f07
commit f351673917
276 changed files with 17183 additions and 3371 deletions

8
src/utils/validators.ts.off Executable file
View File

@@ -0,0 +1,8 @@
export namespace Validators {
const Regs = {
link: /(https?|ftp):\/\/(-\.)?([^\s/?#-]+\.?)+(\/[^\s]*)?@iS/,
}
// @ts-ignore
export const LinkValidator = (value, component) => Regs.link.test(value)
}