adding selection of line through prop drilling

This commit is contained in:
talksik
2022-05-01 13:10:00 -05:00
parent 82803a3fa9
commit 881254d7cf
5 changed files with 288 additions and 236 deletions
@@ -1,3 +0,0 @@
export default function LineDetails() {
return <div className="flex flex-col flex-1">this is the line details</div>;
}
@@ -0,0 +1,13 @@
import { ILineDetails } from "../router";
export default function LineDetailsTerminal({
selectedLine,
}: {
selectedLine: ILineDetails;
}) {
return (
<div className="flex flex-col flex-1">
this is the line details for {selectedLine.name}
</div>
);
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long