import { Confirmation, Col } from '@nova-hf/ui';

import DateSVG from 'assets/svg/date.svg';

interface IErrorProps {
  color: string;
  title: string;
  description: string;
}

export const Error: React.FunctionComponent<IErrorProps> = (props) => {
  const { title, description } = props;

  return (
    <Col col={6} push={3} base={12}>
      <Confirmation
        title={title}
        description={description}
        icon={<DateSVG />}
      />
    </Col>
  );
};
