diff --git a/components/form/Form.tsx b/components/form/Form.tsx index 22cca11217de..59a17214ce9c 100755 --- a/components/form/Form.tsx +++ b/components/form/Form.tsx @@ -40,7 +40,7 @@ export interface FormProps extends React.FormHTMLAttributes { export type ValidationRule = { /** validation error message */ - message?: string; + message?: React.ReactChild; /** built-in validation type, available options: https://github.com/yiminghe/async-validator#type */ type?: string; /** indicates whether field is required */