UNPKG

@carbon/ibm-products

Version:

Carbon for IBM Products

66 lines (65 loc) 1.51 kB
/** * 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: { (props: EmptyStateProps): React.JSX.Element; displayName: string; propTypes: { /** * Empty state action button */ action: any; /** * Empty state headingAs allows you to customize the type of heading element */ headingAs: any; /** * Empty state link object */ link: any; /** * Empty state size */ size: any; /** * Empty state subtitle */ subtitle: any; /** * Empty state title */ title: any; }; }; export {};