org-for-api-post
v0.0.8
Published
apipost组件
Downloads
2
Readme
org-for-api-post
Install
$
Usage
import 'antd/dist/antd.css';
import com from 'org-for-api-post';
export default function HomePage() {
const { AddTeam, AddProject } = com
return (
<div>
<AddTeam open={} onCancel={} />
<AddProject open={} projectId={} onCancel={} />
</div>
);
}
| 参数 | 说明 | 类型 | | ---- | ---- | ---- | | open | 对话框是否可见 | boolean | | onCancel | 对话框关闭回调 | function(e) | | projectId | 项目id | string |