0.2.2 • Published 2 years ago
@tawa/mario-upload v0.2.2
title: Upload 上传 order: 3 nav: title: 组件 path: /components order: 1 group: title: ' ' path: /upload
order: 18
Upload 上传
文件上传。
使用
提供全局属性配置的能力。
import Upload from '@tawa/mario-upload';
<Upload />;
代码演示
基本用法
参数
参数 | 说明 | 类型 | 默认值 |
---|---|---|---|
showButton | 是否渲染上传按钮 | boolean | true |
buttonTitle | 上传按钮标题 | string | Click to Upload |
buttonConfig | 上传按钮属性设置 | ButtonProps | {icon:<UploadOutlined/>} |
其他属性见 antd Upload