update card demo

This commit is contained in:
afc163 2017-10-18 21:20:11 +08:00
parent ca0504da35
commit b51bc4a63a
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ exports[`renders ./components/card/demo/border-less.md correctly 1`] = `
style="background:#ECECEC;padding:30px"
>
<div
class="ant-card ant-card-hoverable"
class="ant-card"
style="width:300px"
>
<div>

View File

@ -18,7 +18,7 @@ import { Card } from 'antd';
ReactDOM.render(
<div style={{ background: '#ECECEC', padding: '30px' }}>
<Card title="Card title" bordered={false} style={{ width: 300 }} noHovering={false}>
<Card title="Card title" bordered={false} style={{ width: 300 }}>
<p>Card content</p>
<p>Card content</p>
<p>Card content</p>