@octopusdeploy/design-system-components
Version:
The design systems component library.
31 lines (30 loc) • 1.28 kB
TypeScript
import type * as React from "react";
import type { BadgeProps } from "../../Badge/index";
import { type CalloutContent, type CalloutMessageState, type StandardCalloutActions, type UpsellCalloutActions } from "../../Callout";
import type { PrimaryPageAction, PageAction } from "../../PageActions";
interface EmptyStateOnboardingProps {
title: string;
description?: React.ReactNode | string;
secondaryDescription?: React.ReactNode | string;
image?: React.ReactElement;
learnMore?: React.ReactElement;
primaryAction?: PrimaryPageAction;
actions?: PageAction[];
callout?: EmptyStateOnboardingCallout;
headerBadge?: React.ReactElement<BadgeProps>;
}
export type EmptyStateOnboardingCallout = {
title?: string;
content: CalloutContent;
actions?: StandardCalloutActions;
messageState: Exclude<CalloutMessageState, "upsell">;
onClose?: () => void;
} | {
title?: string;
content: CalloutContent;
actions: UpsellCalloutActions;
messageState: "upsell";
onClose?: () => void;
};
export declare function EmptyStateOnboarding({ title, description, secondaryDescription, image, primaryAction, actions, learnMore, callout, headerBadge }: EmptyStateOnboardingProps): import("react/jsx-runtime").JSX.Element;
export {};