-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
50 lines (41 loc) · 20.7 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import React, { useState, useEffect } from 'react';
import './App.css';
import BirthdayForm from './BirthdayForm';
import BirthdayList from './BirthdayList';
function App() {
const [birthdays, setBirthdays] = useState([
{name:'Honey Singh',
date:'2004-12-15',
image:'https://pps.whatsapp.net/v/t61.24694-24/322277619_719633749822199_2968644093078872300_n.jpg?ccb=11-4&oh=01_AdRF103QOpKmMHGnG7P-StvRYAgAWuCiuQhP8NAL62FO5A&oe=6502F7DF&_nc_cat=108',
},
{
name:'Ms Dhoni',
date:'1950-9-17',
image:'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4QE3RXhpZgAASUkqAAgAAAADAA4BAgDrAAAAMgAAAJiCAgASAAAAHQEAABIBAwABAAAAAQAAAAAAAABKQUlQVVIsIElORElBIC0gQVBSSUwgMjc6IE1TIERob25pIG9mIENoZW5uYWkgU3VwZXIgS2luZ3MgZ2VzdHVyZXMgZHVyaW5nIHRoZSBJUEwgbWF0Y2ggYmV0d2VlbiBSYWphc3RoYW4gUm95YWxzIGFuZCBDaGVubmFpIFN1cGVyIEtpbmdzIGF0IFNhd2FpIE1hbnNpbmdoIFN0YWRpdW0gb24gQXByaWwgMjcsIDIwMjMgaW4gSmFpcHVyLCBJbmRpYS4oUGhvdG8gYnkgUGFua2FqIE5hbmdpYS9HZXR0eSBJbWFnZXMpMjAyMyBQYW5rYWogTmFuZ2lh/+0BRlBob3Rvc2hvcCAzLjAAOEJJTQQEAAAAAAEqHAJQAA1QYW5rYWogTmFuZ2lhHAJ4AOtKQUlQVVIsIElORElBIC0gQVBSSUwgMjc6IE1TIERob25pIG9mIENoZW5uYWkgU3VwZXIgS2luZ3MgZ2VzdHVyZXMgZHVy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KliFjqEo/Bo2HDlVx2Z0Zccm90fJ/9k=',
},
]);
const addBirthday = (newBirthday) => {
setBirthdays([...birthdays, newBirthday]);
};
const removeBirthday = (name) => {
const updatedBirthdays = birthdays.filter(birthday => birthday.name !== name);
setBirthdays(updatedBirthdays);
};
useEffect(() => {
const storedBirthdays = JSON.parse(localStorage.getItem('birthdays'));
if (storedBirthdays) {
setBirthdays(storedBirthdays);
}
}, []);
useEffect(() => {
localStorage.setItem('birthdays', JSON.stringify(birthdays));
}, [birthdays]);
return (
<div className="App">
<h1>Birthday Reminder</h1>
<BirthdayForm addBirthday={addBirthday} />
<BirthdayList birthdays={birthdays} removeBirthday={removeBirthday} />
</div>
);
}
export default App;