mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[new feature] Button: add loading-type prop
This commit is contained in:
@@ -5,8 +5,10 @@ import { inherit } from '../utils/functional';
|
||||
import { CreateElement, RenderContext } from 'vue/types';
|
||||
import { DefaultSlots } from '../utils/use/sfc';
|
||||
|
||||
export type LoadingType = 'circular' | 'spinner';
|
||||
|
||||
export type LoadingProps = {
|
||||
type: 'circular' | 'spinner';
|
||||
type: LoadingType;
|
||||
size?: string | number;
|
||||
color: string;
|
||||
textSize?: string | number;
|
||||
|
Reference in New Issue
Block a user