Fixed #1836 - For ProgressSpinner

pull/1846/head
mertsincan 2021-12-01 17:09:49 +03:00
parent 4c61ce4dbc
commit b6d81faa1b
1 changed files with 39 additions and 6 deletions

View File

@ -1,11 +1,44 @@
interface ProgressSpinnerProps { import { VNode } from 'vue';
strokeWidth?: string; import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
fill?: string;
animationDuration?: string; 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 { export interface ProgressSpinnerSlots {
$props: ProgressSpinnerProps;
} }
export declare type ProgressSpinnerEmits = {
}
declare class ProgressSpinner extends ClassComponent<ProgressSpinnerProps, ProgressSpinnerSlots, ProgressSpinnerEmits> { }
declare module '@vue/runtime-core' {
interface GlobalComponents {
ProgressSpinner: GlobalComponentConstructor<ProgressSpinner>
}
}
/**
*
* ProgressSpinner is a process status indicator.
*
* Demos:
*
* - [ProgressSpinner](https://www.primefaces.org/primevue/showcase/#/progressspinner)
*
*/
export default ProgressSpinner; export default ProgressSpinner;