import { Card, CardActionArea, Typography } from '@material-ui/core'; import React from 'react'; import { useTranslation } from 'react-i18next'; import { ReactComponent as Arrow } from '../../svg/arrow.svg'; import { ReactComponent as ArrowDisabled } from '../../svg/arrow_disabled.svg'; import useStyles from './styles'; interface CreateWorkflowCardProps { isDisabled: boolean; } const CreateWorkflowCard: React.FC = ({ isDisabled, }) => { const { t } = useTranslation(); const classes = useStyles({ isDisabled }); return ( {t('home.workflow.heading')} {t('home.workflow.info')} {isDisabled ? ( ) : ( )} ); }; export { CreateWorkflowCard };