Spinner: add spinner.d.ts (#21090)

This commit is contained in:
qige2016 2021-06-21 02:36:56 -05:00 committed by GitHub
parent 1b7ff34b9f
commit 318e89b40a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -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
View 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
}