import * as React from "react"; /** * Defines options for displaying actions in ZeroData component. */ export declare const enum ZeroDataActionType { ctaButton = 0, link = 2 } /** * Describes an item displayed by the ZeroData component. */ export interface IZeroDataItem { /** * Path to the image to display. */ imagePath: string; /** * Alt text to set for the image */ imageAltText: string; /** * Primary text to display */ primaryText?: string; /** * Secondary text to display */ secondaryText?: string | JSX.Element; /** * Text to put on the button. If not set, no button will be rendered. */ actionText?: string; /** * The type of button to render. Default is CTA button. */ actionType?: ZeroDataActionType; /** * Callback called when the user clicks on the button */ onActionClick?: (ev?: React.MouseEvent | React.KeyboardEvent, item?: IZeroDataItem) => void; /** * href used for link when actionType is link */ actionHref?: string; } /** * Properties for the ZeroData component. */ export interface IZeroDataProps extends IZeroDataItem { /** * Class name for the root component */ className?: string; } /** * Properties for the ZeroDataMultiple component. */ export interface IZeroDataMultipleProps { /** * ZeroData items to display */ items: IZeroDataItem[]; /** * Class name for the root component */ className?: string; }