diff --git a/src/components/overlay.tsx b/src/components/overlay.tsx index 404c4a4..0d327c4 100644 --- a/src/components/overlay.tsx +++ b/src/components/overlay.tsx @@ -1,9 +1,12 @@ import { useEffect, useState } from "react"; +import { LuUpload } from "react-icons/lu"; import { Box, Button, + FileUpload, GridItem, HStack, + IconButton, Input, SimpleGrid, type UseFileUploadReturn, @@ -104,7 +107,15 @@ export default function Overlay({ Examples - + + + + + + + + + @@ -133,7 +144,7 @@ function HrefInput({ e.preventDefault(); setHref(value); }} - w={"full"} + flex="1" > { .toBeVisible(); }); + test("has an upload button", async () => { + const app = renderApp(); + await expect + .element(app.getByRole("button", { name: "upload" })) + .toBeVisible(); + }); + test("has a color mode button", async () => { const app = renderApp(); await expect