import { Row, Col } from "antd"; import { withTranslation } from "react-i18next"; import { SvgIcon } from "../../../common/SvgIcon"; import { ContentBlockProps } from "../types"; import { Fade } from "react-awesome-reveal"; import { LeftContentSection, Content, ContentWrapper, ServiceWrapper, MinTitle, MinPara, } from "./styles"; const LeftContentBlock = ({ icon, title, content, section, t, id, }: ContentBlockProps) => { return (
{t(title)}
{t(content)} {typeof section === "object" && section.map((item: any, id: number) => { return ( {t(item.title)} {t(item.content)} ); })}
); }; export default withTranslation()(LeftContentBlock);