0.1.1 • Published 1 year ago
aero-example-component v0.1.1
aero-example-component
火柴人测试组件
Install
$ npm i aero-example-component --saveUsage
import ExampleComponent from "aero-example-component";
export default function App() {
return (
<div className={styles.usageContainer}>
<ExampleComponent title="yellow" color="yellow" />
<ExampleComponent title="red" color="red" />
</div>
);
}API
| 参数 | 说明 | 类型 | 默认值 | 是否必填 |
|---|---|---|---|---|
| title | 标题 | string | 'hello world' | 是 |
| color | 字体颜色 | string | '#000' | 否 |
| xxxx | 这里是说明说明说明 | string | '#000' | 否 |