grepsr-ui-elements
Version:
27 lines (26 loc) • 803 B
TypeScript
import PropTypes from "prop-types";
import { ReactNode } from "react";
interface EmptyStateProps {
title: string | ReactNode;
subTitle: string | ReactNode;
emptyImageSrc: string;
emptyImageAlt: string;
isSmImg?: boolean;
}
export { EmptyStateProps };
declare const GrepsrEmptyState: {
({ title, subTitle, emptyImageAlt, emptyImageSrc, isSmImg, }: EmptyStateProps): JSX.Element;
defaultProps: {
title: string;
emptyImageAlt: string;
emptyImageSrc: string;
subTitle: string;
};
propTypes: {
title: PropTypes.Requireable<string>;
subTitle: PropTypes.Requireable<string>;
emptyImageAlt: PropTypes.Requireable<string>;
emptyImageSrc: PropTypes.Requireable<string>;
};
};
export default GrepsrEmptyState;