feat(Loading): add @button-loading-icon-size less var

This commit is contained in:
chenjiahan
2021-03-17 10:08:58 +08:00
committed by neverland
parent e498057424
commit 465bf07095
7 changed files with 14 additions and 17 deletions
+1 -5
View File
@@ -41,6 +41,7 @@ export default defineComponent({
hairline: Boolean,
disabled: Boolean,
iconPrefix: String,
loadingSize: String,
loadingText: String,
loadingType: String as PropType<LoadingType>,
tag: {
@@ -59,10 +60,6 @@ export default defineComponent({
type: String as PropType<ButtonHTMLAttributes['type']>,
default: 'button',
},
loadingSize: {
type: String,
default: '20px',
},
iconPosition: {
type: String as PropType<'left' | 'right'>,
default: 'left',
@@ -84,7 +81,6 @@ export default defineComponent({
class={bem('loading')}
size={props.loadingSize}
type={props.loadingType}
color="currentColor"
/>
);
};