From b6d81faa1b28961c384e24067df3c6aa735dd7a7 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 1 Dec 2021 17:09:49 +0300 Subject: [PATCH] Fixed #1836 - For ProgressSpinner --- .../progressspinner/ProgressSpinner.d.ts | 45 ++++++++++++++++--- 1 file changed, 39 insertions(+), 6 deletions(-) diff --git a/src/components/progressspinner/ProgressSpinner.d.ts b/src/components/progressspinner/ProgressSpinner.d.ts index 1ec2f65fd..33619dead 100755 --- a/src/components/progressspinner/ProgressSpinner.d.ts +++ b/src/components/progressspinner/ProgressSpinner.d.ts @@ -1,11 +1,44 @@ -interface ProgressSpinnerProps { - strokeWidth?: string; - fill?: string; - animationDuration?: string; +import { VNode } from 'vue'; +import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; + +export interface ProgressSpinnerProps { + /** + * Width of the circle stroke. + * Default value is 2. + */ + strokeWidth?: string | undefined; + /** + * Color for the background of the circle. + */ + fill?: string | undefined; + /** + * Duration of the rotate animation. + * Default value is 2s. + */ + animationDuration?: string | undefined; } -declare class ProgressSpinner { - $props: ProgressSpinnerProps; +export interface ProgressSpinnerSlots { } +export declare type ProgressSpinnerEmits = { +} + +declare class ProgressSpinner extends ClassComponent { } + +declare module '@vue/runtime-core' { + interface GlobalComponents { + ProgressSpinner: GlobalComponentConstructor + } +} + +/** + * + * ProgressSpinner is a process status indicator. + * + * Demos: + * + * - [ProgressSpinner](https://www.primefaces.org/primevue/showcase/#/progressspinner) + * + */ export default ProgressSpinner;