@shopify/polaris
Version:
Shopify’s admin product component library
16 lines • 536 B
TypeScript
import React from 'react';
type Size = 'small' | 'large';
export interface SpinnerProps {
/**
* Size of spinner
* @default 'large'
*/
size?: Size;
/** Accessible label for the spinner */
accessibilityLabel?: string;
/** Allows the component to apply the correct accessibility roles based on focus */
hasFocusableParent?: boolean;
}
export declare function Spinner({ size, accessibilityLabel, hasFocusableParent, }: SpinnerProps): React.JSX.Element;
export {};
//# sourceMappingURL=Spinner.d.ts.map