@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
18 lines (17 loc) • 762 B
TypeScript
import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
export interface StatusIndicatorProps extends BaseComponentProps {
type?: StatusIndicatorProps.Type;
children?: React.ReactNode;
iconAriaLabel?: string;
colorOverride?: StatusIndicatorProps.Color;
}
interface InternalProps extends StatusIndicatorProps {
uxdgInverted?: boolean;
}
export declare namespace StatusIndicatorProps {
type Type = 'error' | 'warning' | 'success' | 'info' | 'stopped' | 'pending' | 'in-progress' | 'loading';
type Color = 'blue' | 'grey' | 'green' | 'red';
}
export default function StatusIndicator({ type, children, iconAriaLabel, colorOverride, uxdgInverted, ...restProps }: InternalProps): JSX.Element;
export {};