From 316f43a0f8db27620ba53bf5993f569a969742b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= Date: Wed, 17 May 2023 18:36:09 -0600 Subject: A simple list for the To Do's. Cannot edit nor remove info. Plain interfaceeeee. --- src/App.jsx | 2 ++ src/ToDo-UI/ToDoList.jsx | 69 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 src/ToDo-UI/ToDoList.jsx (limited to 'src') diff --git a/src/App.jsx b/src/App.jsx index 5704b36..00b3278 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,11 +1,13 @@ import React from "react"; import { Counter } from "./features/counter/Counter"; import { Search } from "./ToDo-UI/Search"; +import { ToDoList } from "./ToDo-UI/ToDoList"; function App() { return (
+
); diff --git a/src/ToDo-UI/ToDoList.jsx b/src/ToDo-UI/ToDoList.jsx new file mode 100644 index 0000000..c6b2d92 --- /dev/null +++ b/src/ToDo-UI/ToDoList.jsx @@ -0,0 +1,69 @@ +import React from "react"; + +export function ToDoList() { + const todos = [ + { + id: 1, + text: "Finish homework.", + due_date: "2023/05/29", + done: false, + priority: "high", + creation_date: "2023/05/11", + }, + ]; + + return ( +
+ + + + + + + + + + + + {todos.map((item) => ( + + + + + + + + ))} + +
#NamePriorityDue DateActions
+
+ +
+
{item.text}{item.priority}{item.due_date} +
+ + +
+
+
+ ); +} -- cgit v1.2.3