UNPKG

lucid-ui

Version:

A UI component library from AppNexus.

60 lines (59 loc) 1.77 kB
import React from 'react'; import { StandardProps } from '../../util/component-types'; export interface IEmptyStateWrapperBodyProps extends StandardProps { } export interface IEmptyStateWrapperTitleProps extends StandardProps { } export interface IEmptyStateWrapperProps extends StandardProps { /** *Child Element* The element to display in the body of the overlay. */ Body?: React.ReactNode; /** *Child Element* The element to display in the title of the overlay. */ Title?: React.ReactNode | string; /** Controls the visibility of the \`EmptyMessage\`. */ isEmpty: boolean; /** Controls the visibility of the \`LoadingMessage\`. */ isLoading: boolean; /** Position the `EmptyMessage` and `LoadingMessage` near the top of the container. */ anchorMessage: boolean; } export declare const EmptyStateWrapper: { (props: IEmptyStateWrapperProps): React.ReactElement; _isPrivate: boolean; peek: { description: string; categories: string[]; madeFrom: string[]; }; displayName: string; defaultProps: { isEmpty: boolean; isLoading: boolean; anchorMessage: boolean; }; propTypes: { className: any; children: any; isEmpty: any; isLoading: any; anchorMessage: any; Body: any; Title: any; }; Body: { (_props: IEmptyStateWrapperBodyProps): null; displayName: string; peek: { description: string; }; propName: string; }; Title: { (_props: IEmptyStateWrapperTitleProps): null; displayName: string; peek: { description: string; }; propName: string; }; }; export default EmptyStateWrapper;