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 (