import { SizeKeyword } from '../../shared/scales'; import { GlobalProps } from '../../shared/global'; export interface SpinnerProps extends GlobalProps { /** * Adjusts the size of the spinner icon. * * @default 'base' */ size?: SizeKeyword; /** * A label that describes the purpose of the progress. When set, * it will be announced to users using assistive technologies and will * provide them with more context. Providing an `accessibilityLabel` is * recommended if there is no accompanying text describing that something * is loading. * * Use it to provide context of what is loading. */ accessibilityLabel?: string; }