feat(Loading): add @button-loading-icon-size less var
This commit is contained in:
@@ -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"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user