-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working on new modal for managing assemblies in the scnee
- Loading branch information
1 parent
fd18b1e
commit 18a406d
Showing
7 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import React from "react" | ||
import Modal, { ModalPropsImpl } from "../../components/Modal" | ||
import { FaPlus } from "react-icons/fa6" | ||
import ScrollView from "@/components/ScrollView" | ||
|
||
const ManageAssembliesModal: React.FC<ModalPropsImpl> = ({ modalId }) => { | ||
// update tooltip based on type of drivetrain, receive message from Synthesis | ||
// const { showTooltip } = useTooltipControlContext() | ||
|
||
return ( | ||
<Modal | ||
name={"Manage Assemblies"} | ||
icon={<FaPlus />} | ||
modalId={modalId} | ||
onAccept={() => { | ||
// showTooltip("controls", [ | ||
// { control: "WASD", description: "Drive" }, | ||
// { control: "E", description: "Intake" }, | ||
// { control: "Q", description: "Dispense" }, | ||
// ]); | ||
} | ||
} | ||
> | ||
<ScrollView maxHeight="max-h-70vh" className="h-64" children={ | ||
<div> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
<h1>Hello</h1> | ||
</div> | ||
}> | ||
</ScrollView> | ||
</Modal> | ||
) | ||
} | ||
|
||
export default ManageAssembliesModal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters