0.1.6 • Published 3 years ago
winecomponents v0.1.6
安装方式
npm install winecomponents --save;
引入依赖, 使用方式
import React from 'react';
import { Button } wine-components;
const test => (props) => {
return (<div>
<Button btnType="primary">按钮</Button>
</div>)
}
已有组件
组件文档链接 wine-components
组件名 | 参数 | 默认值 |
---|---|---|
Button | --- | --- |
Menu | --- | --- |
Icon | --- | --- |
Progress | --- | --- |
Input | --- | --- |
AutoComplete | --- | --- |
Upload | --- | --- |
tsconfig.build.ts
生成 样式文件
*** 使用 node-sass 生成 css
rimraf 删除文件
npm link 测试 组件
prepublish
peerDependencies了解
增加提前检查 commit