import React from 'react'; import PropTypes from 'prop-types'; import Box from '../../../ui/box/box'; import { AlignItems, BackgroundColor, BLOCK_SIZES, FLEX_DIRECTION, FONT_WEIGHT, IconColor, JustifyContent, TextAlign, TextVariant, } from '../../../../helpers/constants/design-system'; import ActionableMessage from '../../../ui/actionable-message/actionable-message'; import { AvatarIcon, IconSize, Text } from '../../../component-library'; const InstallError = ({ title, error, description, iconName }) => { return ( {iconName && ( )} {title} {description && {description}} ); }; InstallError.propTypes = { title: PropTypes.node.isRequired, error: PropTypes.string.isRequired, description: PropTypes.string, iconName: PropTypes.string, }; export default InstallError;