@devopness/ui-react
Version:
Devopness Design System React Components - Painless essential DevOps to everyone
14 lines (13 loc) • 672 B
TypeScript
import { ActionStatus } from '../../../constants';
/** Props for the Status component. */
type StatusProps = {
/** The current action status. Must be one of the `ActionStatus` enum values. */
status: `${ActionStatus}`;
/** A human-readable string describing the status. */
statusHumanReadable: string;
/** A human-readable string explaining the reason or details of the status. */
statusReasonHumanReadable: string;
};
declare const MemoizedStatus: ({ status, statusHumanReadable, statusReasonHumanReadable, }: StatusProps) => import("react/jsx-runtime").JSX.Element;
export { MemoizedStatus as Status };
export type { ActionStatus, StatusProps };