@octopusdeploy/design-system-components
Version:
The design systems component library.
26 lines (25 loc) • 1.13 kB
TypeScript
import type * as React from "react";
import type { BadgeProps } from "../../Badge/index";
import { type CalloutContent, type CalloutMessageState, type StandardCalloutActions } 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>;
}
type CalloutActions = StandardCalloutActions;
export interface EmptyStateOnboardingCallout {
title?: string;
content: CalloutContent;
actions?: CalloutActions;
messageState: CalloutMessageState;
onClose?: () => void;
}
export declare function EmptyStateOnboarding({ title, description, secondaryDescription, image, primaryAction, actions, learnMore, callout, headerBadge }: EmptyStateOnboardingProps): import("react/jsx-runtime").JSX.Element;
export {};