types(Form): use tsx (#8153)

This commit is contained in:
neverland
2021-02-14 16:51:37 +08:00
committed by GitHub
parent 08e928111b
commit 0fb0186fad
4 changed files with 48 additions and 23 deletions
+5
View File
@@ -20,6 +20,11 @@ export type FieldAutosizeConfig = {
minHeight?: number;
};
export type FieldValidateError = {
name?: string;
message: string;
};
export type FieldRule = {
pattern?: RegExp;
trigger?: FieldValidateTrigger;