UNPKG

@wix/design-system

Version:

@wix/design-system

32 lines 1.31 kB
import React from 'react'; import PropTypes from 'prop-types'; import { EmptyStateProps } from './EmptyState.types'; export declare const defaultEmptyStateProps: { readonly skin: "section"; readonly image: null; readonly children: null; readonly align: "center"; }; /** * Representing a state of an empty page, section, table, etc. */ declare const EmptyState: { ({ theme, skin, image, children, align, title, subtitle, classNames: classNamesProp, className, dataHook, }: EmptyStateProps): React.JSX.Element; displayName: string; propTypes: { skin: PropTypes.Requireable<string>; theme: PropTypes.Requireable<string>; title: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>; subtitle: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>; image: PropTypes.Requireable<PropTypes.ReactNodeLike>; classNames: PropTypes.Requireable<PropTypes.InferProps<{ imageContainer: PropTypes.Requireable<string>; }>>; className: PropTypes.Requireable<string>; children: PropTypes.Requireable<PropTypes.ReactNodeLike>; dataHook: PropTypes.Requireable<string>; align: PropTypes.Requireable<string>; }; }; export default EmptyState; //# sourceMappingURL=EmptyState.d.ts.map