@aligov/common-card
v1.0.1-0
Published
intro component
Downloads
9
Readme
CommonCard
@aligov/common-card
intro component
API
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ----- | ------ | ------ | ---- | | title | 标题 | false | string | | |
用法
本 Demo 演示一行文字的用法。
import React, { Component } from "react";
import ReactDOM from "react-dom";
import CommonCard from "@aligov/common-card";
class App extends Component {
render() {
return (
<div>
<CommonCard title="22">22</CommonCard>
</div>
);
}
}
ReactDOM.render(<App />, mountNode);