Browse Source

Merge pull request #14141 from ant-design/emptyImage

adjust empty customize demo image
pull/14158/head
偏右 6 years ago
committed by GitHub
parent
commit
fe5bba97e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      components/empty/__tests__/__snapshots__/demo.test.js.snap
  2. 2
      components/empty/demo/customize.md

2
components/empty/__tests__/__snapshots__/demo.test.js.snap

@ -473,7 +473,7 @@ exports[`renders ./components/empty/demo/customize.md correctly 1`] = `
>
<img
alt="empty"
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
src="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
/>
</div>
<p

2
components/empty/demo/customize.md

@ -18,7 +18,7 @@ import { Empty, Button } from 'antd';
ReactDOM.render(
<Empty
image="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
image="https://gw.alipayobjects.com/mdn/miniapp_social/afts/img/A*pevERLJC9v0AAAAAAAAAAABjAQAAAQ/original"
description={
<span>
Customize <a href="#API">Description</a>

Loading…
Cancel
Save