@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
25 lines (24 loc) • 824 B
TypeScript
import React from 'react';
import { BoxProps } from '../box';
import { ProgressBarProps } from './interfaces';
interface ProgressProps {
value: number;
isInFlash: boolean;
labelId: string;
}
export declare const Progress: ({ value, isInFlash, labelId }: ProgressProps) => JSX.Element;
interface SmallTextProps {
color?: BoxProps.Color;
children: React.ReactNode;
}
export declare const SmallText: ({ color, children }: SmallTextProps) => JSX.Element;
interface ResultStateProps {
isInFlash: boolean;
labelId: string;
resultText: React.ReactNode;
resultButtonText?: string;
status: ProgressBarProps.Status;
onClick: () => void;
}
export declare const ResultState: ({ isInFlash, labelId, resultText, resultButtonText, status, onClick }: ResultStateProps) => JSX.Element;
export {};