@octopusdeploy/design-system-components
Version:
The design systems component library.
26 lines (25 loc) • 752 B
TypeScript
import type React from "react";
export interface StepLabelProps {
/**
* In most cases will simply be a string containing a title for the label.
*/
children?: React.ReactNode;
/**
* Props applied to the `StepIcon` element.
*/
StepIconProps?: {
/**
* Mark the step as completed. Is passed to child components.
*/
completed?: boolean;
/**
* Mark the step as failed.
*/
error?: boolean;
/** Classes to be applied to specific step states. */
classes?: {
completed?: string;
};
};
}
export declare function StepLabel({ StepIconProps, children, ...props }: StepLabelProps): import("react/jsx-runtime").JSX.Element;