@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
44 lines • 1.29 kB
TypeScript
import { IconProps } from '../icon/interfaces';
import { InternalBaseComponentProps } from '../internal/hooks/use-base-component';
import { SomeRequired } from '../internal/types';
import { StatusIndicatorProps } from './interfaces';
export interface InternalStatusIndicatorProps extends SomeRequired<StatusIndicatorProps, 'type'>, InternalBaseComponentProps {
/**
* Play an animation on the error icon when first rendered
*/
__animate?: boolean;
/**
* Size of icon.
*/
__size?: IconProps.Size;
/**
* The CSS behavior of the status indicator container element.
*/
__display?: 'inline' | 'inline-block';
}
interface InternalStatusIconProps extends Pick<InternalStatusIndicatorProps, 'type' | 'iconAriaLabel'> {
animate?: InternalStatusIndicatorProps['__animate'];
size?: InternalStatusIndicatorProps['__size'];
display?: InternalStatusIndicatorProps['__display'];
}
export declare function InternalStatusIcon({
type,
iconAriaLabel,
animate,
display,
size
}: InternalStatusIconProps): JSX.Element;
export default function StatusIndicator({
type,
children,
iconAriaLabel,
colorOverride,
wrapText,
nativeAttributes,
__animate,
__internalRootRef,
__size,
__display,
...rest
}: InternalStatusIndicatorProps): JSX.Element;
export {};