mirror of
https://github.com/trafficlunar/blockmatic.git
synced 2026-06-28 14:44:12 +00:00
feat: add dialogs to menubar
can't put dialogs inside menubar components so we import each dialog dynamically
This commit is contained in:
parent
c4c7986a71
commit
370ec76c9b
7 changed files with 218 additions and 37 deletions
18
src/components/dialogs/OpenImage.tsx
Normal file
18
src/components/dialogs/OpenImage.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "@/components/ui/dialog";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
function OpenImage() {
|
||||
return (
|
||||
<DialogContent>
|
||||
<DialogHeader>
|
||||
<DialogTitle>Open image</DialogTitle>
|
||||
<DialogDescription>Open your image to load as blocks into the canvas</DialogDescription>
|
||||
</DialogHeader>
|
||||
<DialogFooter>
|
||||
<Button type="submit">Submit</Button>
|
||||
</DialogFooter>
|
||||
</DialogContent>
|
||||
);
|
||||
}
|
||||
|
||||
export default OpenImage;
|
||||
Loading…
Add table
Add a link
Reference in a new issue