mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-09 21:38:54 +08:00
344 B
344 B
order | title |
---|---|
4 | 预加载的卡片 |
数据读入前会有文本块样式。
import { Card } from 'antd';
const App = React.createClass({
render() {
return (
<Card loading title="卡片标题" style={{ width: 300 }}>
Whatever content
</Card>
);
},
});
ReactDOM.render(<App />, mountNode);