@cimpress/react-components
Version:
React components to support the MCP styleguide
24 lines • 978 B
TypeScript
import { ReactNode, ReactElement } from 'react';
import { StepProps } from './Step';
import { PublicComponentProps } from './types';
export interface StepGroupProps extends StepProps, PublicComponentProps {
/**
* If provided, this sets a SubStep as the active Step within the Stepper
*/
activeSubStep?: number;
/**
* Additional information about the step to render below the step indicator
*/
contents?: ReactNode;
index?: number;
/**
* If provided, this sets the top parent-step's color regardless of whether it's completed, active, etc.
*
* This prop is not passed to sub-steps. If any sub-steps have an overrideBsStyle set, the most severe style
* will take precedence over this value.
*/
overrideStatus?: 'success' | 'info' | 'warning' | 'error';
children: ReactElement<StepProps>[];
}
export declare const StepGroup: (props: StepGroupProps) => JSX.Element;
//# sourceMappingURL=StepGroup.d.ts.map