mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 03:29:39 +08:00
update card demo
This commit is contained in:
parent
ca0504da35
commit
b51bc4a63a
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user