@octopusdeploy/design-system-components
Version:
The design systems component library.
36 lines (35 loc) • 1.01 kB
TypeScript
import type * as React from "react";
import type { DesignSystemLinkHref } from "../../routing";
export type StepCardProps = {
heading: string;
subHeading?: string;
logo: React.ReactNode;
chipType?: "primary" | "info" | "success";
chipLabel?: string;
description?: React.ReactNode;
dotpoints?: string[];
truncateDotpoints?: boolean;
primaryAction?: {
label: string;
href: DesignSystemLinkHref;
external?: boolean;
onClick?: () => void;
} | {
label: string;
onClick: () => void;
};
secondaryAction?: {
label: string;
href: DesignSystemLinkHref;
external?: boolean;
onClick?: () => void;
} | {
label: string;
onClick: () => void;
};
disabled?: boolean;
};
export declare function StepCard({ chipType, chipLabel, disabled, ...props }: StepCardProps): import("react/jsx-runtime").JSX.Element;
export declare namespace StepCard {
var displayName: string;
}