import React from 'react' import Button from '../Button/Button' import Icon from '../Icons/Icon' import { type IconColorList, type IconStringList } from '../Icons/Icon.models' import { type ButtonProps } from '../Button/Button.models' export type EmptyStateProps = { /** Text to display in bold. */ primaryText: string /** Optional secondary text beneath `primaryText`. */ secondaryText?: string /** Optional icon to display at the top. */ icon?: IconStringList /** Optional button to display at bottom. */ buttonProps?: ButtonProps /** Optional prop to set the color of the icon */ iconColor?: IconColorList /** Optional prop to add a test id to the EmptyState for QA testing */ qaTestId?: string } const EmptyState = ({ primaryText, secondaryText, icon, buttonProps, iconColor = 'purple', qaTestId = 'empty-state', }: EmptyStateProps): React.JSX.Element => { return (