import React from "react"; import "./taskItem.scss"; export const TaskItem = ({ index, text, hours }) => { return (
{index}.
{text}
{hours}
Количество часов
); };