-
zhangwei
2024-10-08 93a986bc80abdef75923054b9df9adb6e1ccff52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import { AllowedComponentProps, VNodeProps } from './_common'
 
declare interface LoadingIconProps {
  /**
   * 是否显示动画
   * @default true
   */
  show?: boolean
  /**
   * 图标颜色
   * @default "color['u-tips-color']"
   */
  color?: string
  /**
   * 提示文本颜色
   * @default "color['u-tips-color']"
   */
  textColor?: string
  /**
   * 图标和文字是否垂直排列
   * @default false
   */
  vertical?: boolean
  /**
   * 模式选
   * @default "circle"
   */
  mode?: 'circle' | 'semicircle'
  /**
   * 加载图标的大小,单位px
   * @default 24
   */
  size?: string | number
  /**
   * 加载文字的大小,单位px
   * @default 15
   */
  textSize?: string | number
  /**
   * 文字内容
   */
  text?: string
  /**
   * 指定`animation-timing-function`的css属性,但只支持`mode`为`circle`或`semicircle`才有效
   * @default "ease-in-out"
   */
  timingFunction?: string
  /**
   * 动画执行周期时间,单位ms
   * @default 1200
   */
  duration?: string | number
  /**
   * 图标的暗边颜色, `mode`为`circle` 模式有效
   * @default "transparent"
   */
  inactiveColor?: string
}
 
declare interface _LoadingIcon {
  new (): {
    $props: AllowedComponentProps &
      VNodeProps &
      LoadingIconProps
  }
}
 
export declare const LoadingIcon: _LoadingIcon