@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
29 lines (28 loc) • 884 B
TypeScript
import { BaseComponentProps } from '../internal/base-component';
/**
* @awsuiSystem core
*/
export interface SpinnerProps extends BaseComponentProps {
/**
* Specifies the size of the spinner.
*/
size?: SpinnerProps.Size;
/**
* Specifies the color variant of the spinner. The `normal` variant picks up the current color of its context.
*/
variant?: SpinnerProps.Variant;
/**
* Attributes to add to the native element.
* Some attributes will be automatically combined with internal attribute values:
* - `className` will be appended.
* - Event handlers will be chained, unless the default is prevented.
*
* We do not support using this attribute to apply custom styling.
*
* @awsuiSystem core
*/
}
export declare namespace SpinnerProps {
type Size = 'normal' | 'big' | 'large';
type Variant = 'normal' | 'disabled' | 'inverted';
}