mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
Spinner: add spinner.d.ts (#21090)
This commit is contained in:
parent
1b7ff34b9f
commit
318e89b40a
4
types/element-ui.d.ts
vendored
4
types/element-ui.d.ts
vendored
@ -84,6 +84,7 @@ import { ElSkeleton } from './skeleton'
|
||||
import { ElSkeletonItem } from './skeleton-item'
|
||||
import { ElCascaderPanel } from './cascader-panel'
|
||||
import { ElEmpty } from './empty'
|
||||
import { ElSpinner } from './spinner'
|
||||
|
||||
export interface InstallationOptions {
|
||||
locale: any,
|
||||
@ -360,3 +361,6 @@ export class CascaderPanel extends ElCascaderPanel {}
|
||||
|
||||
/** Empty Component */
|
||||
export class Empty extends ElEmpty {}
|
||||
|
||||
/** Spinner Component */
|
||||
export class Spinner extends ElSpinner {}
|
||||
|
16
types/spinner.d.ts
vendored
Normal file
16
types/spinner.d.ts
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import { ElementUIComponent } from './component'
|
||||
|
||||
/** Spinner Component */
|
||||
export declare class ElSpinner extends ElementUIComponent {
|
||||
/** The type of spinner */
|
||||
type: string
|
||||
|
||||
/** The radius of spinner */
|
||||
radius: number
|
||||
|
||||
/** The width of spinner */
|
||||
strokeWidth: number
|
||||
|
||||
/** The color of spinner */
|
||||
strokeColor: string
|
||||
}
|
Loading…
Reference in New Issue
Block a user