@gpa-gemstone/react-interactive
Version:
Interactive UI Components for GPA products
22 lines (21 loc) • 646 B
TypeScript
interface IProps {
/**
* Flag to show server error icon
*/
Show: boolean;
/**
* Label to be used next to icon, defaulting to 'A Server Error Occurred. Please Reload the Application.'
*/
Label?: string;
/**
* Optional number(in px) to be used for the height of the icon
*/
Size?: number;
}
/**
* Component for rendering the icon that appears during server error.
* @param props renders and manages the details of the server error icon.
* @returns a center aligned dark red server error icon.
*/
declare function ServerErrorIcon(props: IProps): JSX.Element;
export default ServerErrorIcon;