diff --git a/src/components/news/News.tsx b/src/components/news/News.tsx index c715b18..9cf44dd 100644 --- a/src/components/news/News.tsx +++ b/src/components/news/News.tsx @@ -1,34 +1,37 @@ // Modules import { Link } from 'react-router-dom'; // Images -import placeholder from '../../assets/images/placeholder.jpg'; import { ReactComponent as ArrRight } from '../../assets/icons/arrow-right.svg'; +// Components import NewsCategory from '../global/NewsCategory'; import NewsDate from '../global/NewsDate'; -const News = () => { +interface Props { + title: string; + text: string; + category: string; + date: string; + img: string; + link: string; +} + +const News = ({ title, text, category, date, img, link }: Props) => { return (
- img + img
-

- Президент Туркменистана провёл рабочее совещание по цифровой системе -

+

{title}

- - -
-
- Государственному объединению «Türkmen atlary» разрешено заключить дополнительное - соглашение с ИП «Röwşen». Государственному объединению «Türkmen atlary» разрешено - заключить дополнительное соглашение с ИП «Röwşen» + +
+
{text}
- + прочитать все