UNPKG

primereact

Version:

PrimeReact is an open source UI library for React featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime

56 lines (53 loc) 1.48 kB
/** * * ProgressSpinner is a process status indicator. * * [Live Demo](https://www.primereact.org/progressspinner) * * @module progressspinner * */ import * as React from 'react'; /** * Defines valid properties in ProgressSpinner component. In addition to these, all properties of HTMLDivElement can be used in this component. * @group Properties */ export interface ProgressSpinnerProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> { /** * Width of the circle stroke. * @defaultValue 2 */ strokeWidth?: string | undefined; /** * Color for the background of the circle. */ fill?: string | undefined; /** * Duration of the rotate animation. * @defaultValue 2s */ animationDuration?: string | undefined; /** * Used to get the child elements of the component. * @readonly */ children?: React.ReactNode | undefined; } /** * **PrimeReact - ProgressSpinner** * * _ProgressSpinner is a process status indicator._ * * [Live Demo](https://www.primereact.org/progressspinner/) * --- --- * ![PrimeReact](https://primefaces.org/cdn/primereact/images/logo-100.png) * * @group Component */ export declare class ProgressSpinner extends React.Component<ProgressSpinnerProps, any> { /** * Used to get container element. * @return {HTMLDivElement} Container element */ public getElement(): HTMLDivElement; }