UNPKG

@awsui/components-react

Version:

AWS UI is a collection of [React](https://reactjs.org/) components that help create intuitive, responsive, and accessible user experiences for web applications. It is developed by Amazon Web Services (AWS). This work is available under the terms of the [A

11 lines (10 loc) 422 B
import { BaseComponentProps } from '../internal/base-component'; export interface SpinnerProps extends BaseComponentProps { size?: SpinnerProps.Size; variant?: SpinnerProps.Variant; } export declare namespace SpinnerProps { type Size = 'normal' | 'big' | 'large'; type Variant = 'normal' | 'disabled' | 'inverted'; } export default function Spinner({ size, variant, ...props }: SpinnerProps): JSX.Element;