@carbon/ibm-products
Version:
Carbon for IBM Products
37 lines (36 loc) • 983 B
TypeScript
/**
* Copyright IBM Corp. 2020, 2021
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import React, { ElementType, ReactNode } from 'react';
import { CustomLink, EmptyStateAction } from './EmptyState';
interface EmptyStateProps {
/**
* Empty state action button
*/
action?: EmptyStateAction;
/**
* Empty state headingAs allows you to customize the type of heading element
*/
headingAs?: (() => ReactNode) | string | ElementType;
/**
* Empty state link object
*/
link?: CustomLink;
/**
* Empty state size
*/
size?: 'lg' | 'sm';
/**
* Empty state subtitle
*/
subtitle?: string | ReactNode;
/**
* Empty state title
*/
title: string | ReactNode;
}
export declare const EmptyStateContent: React.ForwardRefExoticComponent<EmptyStateProps & React.RefAttributes<HTMLDivElement>>;
export {};