Skip to content

Commit

Permalink
chore: creating dropdown for selecting Timelines and styling the Time…
Browse files Browse the repository at this point in the history
…line area
  • Loading branch information
stamenione committed Jan 14, 2025
1 parent d69cb84 commit 008b1d8
Show file tree
Hide file tree
Showing 7 changed files with 411 additions and 19 deletions.
226 changes: 225 additions & 1 deletion Frontend/react-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Frontend/react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"react-datepicker": "^7.6.0",
"react-dom": "^19.0.0",
"react-icons": "^5.4.0",
"react-scripts": "5.0.1"
"react-scripts": "5.0.1",
"react-select": "^5.9.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
15 changes: 12 additions & 3 deletions Frontend/react-app/src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,21 @@
import React from "react";

import "./styles/App.css";

import Timeline from "./components/Timeline/Timeline";
import TimelineSelect from "./components/TimelineSelect/TimelineSelect";

function App() {
const handleTimelineSelect = (selectedTimeline) => {
// console.log("Selected Timeline:", selectedTimeline);
};

return (
<div className="App">
<h1>My Timeline</h1>
<Timeline />
<div className="app-container">
<div className="app-content">
<TimelineSelect onTimelineSelect={handleTimelineSelect} />
<Timeline />
</div>
</div>
);
}
Expand Down
Loading

0 comments on commit 008b1d8

Please sign in to comment.