mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-07 20:08:21 +08:00
0ca6a1c24a
* css modularize * Add alert style * Move more component style * Move iconfont to common style * Move layout style * Move more component style * Move all components * Fix lots of mixin deps * remove css-prefix from less * fix a button icon style bug * restructure * fix index * add dist * fix jest * fix some components style * clean webpack config * check more components style * update tabs * update scripts * update scripts * fix form style * fix more style * Fix select width * Fix form and tabs style
17 lines
253 B
Markdown
17 lines
253 B
Markdown
---
|
|
order: 5
|
|
title: 预加载的卡片
|
|
---
|
|
|
|
数据读入前会有文本块样式。
|
|
|
|
````jsx
|
|
import { Card } from 'antd';
|
|
|
|
ReactDOM.render(
|
|
<Card loading title="卡片标题" style={{ width: '34%' }}>
|
|
Whatever content
|
|
</Card>
|
|
, mountNode);
|
|
````
|