diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index fadb333f67..407104903a 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -4815,13 +4815,41 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
- + + + + + + + +
diff --git a/components/form/demo/validate-static.md b/components/form/demo/validate-static.md index ffb4cafe39..4233c255a0 100644 --- a/components/form/demo/validate-static.md +++ b/components/form/demo/validate-static.md @@ -22,6 +22,7 @@ We provide properties like `validateStatus` `help` `hasFeedback` to customize yo 3. `help`: display validate message. ```tsx +import { SmileOutlined } from '@ant-design/icons'; import { Form, Input, DatePicker, TimePicker, Select, Cascader, InputNumber } from 'antd'; const { Option } = Select; @@ -48,7 +49,7 @@ ReactDOM.render( - + } />