@xdp/button
Version:
button el-button vue3
37 lines (34 loc) • 643 B
JavaScript
import { Delete, Download, Upload } from '@element-plus/icons-vue';
import Plus from './icon/Plus';
const defaultButtonConfigMap = {
search: {
type: "primary",
text: "\u67E5\u8BE2"
},
reset: {
type: "default",
text: "\u91CD\u7F6E"
},
create: {
type: "primary",
icon: Plus,
text: "\u65B0\u589E"
},
batchDelete: {
type: "default",
icon: Delete,
text: "\u5220\u9664"
},
export: {
type: "warning",
icon: Download,
plain: true,
text: "\u5BFC\u51FA"
},
upload: {
type: "default",
icon: Upload,
text: "\u4E0A\u4F20"
}
};
export { defaultButtonConfigMap };