Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
react-todo
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Manivasagam S
react-todo
Commits
788413d4
Commit
788413d4
authored
May 19, 2025
by
Manivasagam S
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
my commit
parent
634590c3
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
59 deletions
+7
-59
App.jsx
src/App.jsx
+1
-4
css-pattern-by-magicpattern.png
src/assets/css-pattern-by-magicpattern.png
+0
-0
TodoForm.jsx
src/component/TodoForm/TodoForm.jsx
+0
-2
TodoItem.jsx
src/component/TodoItem/TodoItem.jsx
+1
-1
TodoList.jsx
src/component/TodoList/TodoList.jsx
+0
-1
db.json
src/db.json
+0
-46
Todo.jsx
src/pages/Todo/Todo.jsx
+4
-4
Todo.module.css
src/pages/Todo/Todo.module.css
+1
-1
No files found.
src/App.jsx
View file @
788413d4
import
React
,
{
useEffect
,
useState
}
from
"react"
;
import
Todo
from
"./pages/Todo"
;
import
Todo
from
"./pages/Todo/Todo"
;
function
App
()
{
return
(
<
Todo
/>
...
...
src/assets/css-pattern-by-magicpattern.png
deleted
100644 → 0
View file @
634590c3
454 KB
src/component/TodoForm/TodoForm.jsx
View file @
788413d4
import
React
from
"react"
;
import
styles
from
"./TodoForm.module.css"
;
const
TodoForm
=
({
input
,
error
,
handleInputChange
,
handleSubmit
})
=>
{
return
(
...
...
src/component/TodoItem/TodoItem.jsx
View file @
788413d4
import
React
,
{
useState
,
useEffect
}
from
"react"
;
import
{
useState
,
useEffect
}
from
"react"
;
import
{
TiDelete
}
from
"react-icons/ti"
;
import
styles
from
"./TodoItem.module.css"
;
...
...
src/component/TodoList/TodoList.jsx
View file @
788413d4
import
React
from
"react"
;
import
TodoItem
from
"../TodoItem/TodoItem"
;
import
styles
from
"./TodoList.module.css"
;
...
...
src/db.json
View file @
788413d4
...
...
@@ -39,51 +39,6 @@
"id"
:
"6838"
,
"text"
:
"gnfgn"
,
"completed"
:
false
},
{
"id"
:
"fe38"
,
"text"
:
"gngfn"
,
"completed"
:
false
},
{
"id"
:
"02d1"
,
"text"
:
"ngfng"
,
"completed"
:
false
},
{
"id"
:
"78c1"
,
"text"
:
"gngfn"
,
"completed"
:
false
},
{
"id"
:
"7a0c"
,
"text"
:
"gngfn"
,
"completed"
:
false
},
{
"id"
:
"0698"
,
"text"
:
"gngn"
,
"completed"
:
false
},
{
"id"
:
"81af"
,
"text"
:
"fgnfgn"
,
"completed"
:
false
},
{
"id"
:
"9219"
,
"text"
:
"gngn"
,
"completed"
:
false
},
{
"id"
:
"24d0"
,
"text"
:
"gngn"
,
"completed"
:
false
},
{
"id"
:
"8053"
,
"text"
:
"ngn"
,
"completed"
:
false
}
]
}
\ No newline at end of file
src/pages/Todo.jsx
→
src/pages/Todo
/Todo
.jsx
View file @
788413d4
import
React
,
{
useEffect
,
useState
}
from
"react"
;
import
{
getTodos
,
addTodo
,
deleteTodo
,
updateTodo
}
from
"../
api/todo
"
;
import
TodoList
from
"../component/TodoList/TodoList.jsx"
;
import
TodoForm
from
"../component/TodoForm/TodoForm.jsx"
;
import
{
useEffect
,
useState
}
from
"react"
;
import
{
getTodos
,
addTodo
,
deleteTodo
,
updateTodo
}
from
"../
../api/todo.js
"
;
import
TodoList
from
"../
../
component/TodoList/TodoList.jsx"
;
import
TodoForm
from
"../
../
component/TodoForm/TodoForm.jsx"
;
import
styles
from
"./Todo.module.css"
;
function
Todo
()
{
...
...
src/pages/Todo.module.css
→
src/pages/Todo
/Todo
.module.css
View file @
788413d4
...
...
@@ -18,7 +18,7 @@
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
width
:
9
0%
;
width
:
10
0%
;
box-sizing
:
border-box
;
}
.container
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment