UNPKG

@octopusdeploy/design-system-components

Version:
26 lines (25 loc) 752 B
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;