ProgressSpinner 是一个过程状态指示器。
import { ProgressSpinner } from 'primereact/progressspinner';
默认显示无限旋转动画。
<ProgressSpinner />
ProgressSpinner 可以使用样式属性(如style、strokeWidth 和 fill)进行自定义。
<ProgressSpinner style={{width: '50px', height: '50px'}} strokeWidth="8" fill="var(--surface-ground)" animationDuration=".5s" />
ProgressSpinner 组件使用 progressbar 角色。可以使用 aria-labelledby 和 aria-label 属性定义描述组件的值。
<ProgressSpinner aria-label="Loading" />
组件不包含任何交互元素。