{
>
{EMOJI_HEADER}
-
- {output ? (
- formatUUIDPartial(output)
- ) : (
-
- xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
-
- )}
-
+
{progress &&
{progress}
}
-
+
{error &&
{error}
}
-
+
);
diff --git a/uuid-browser-2-app/src/UuidControls.tsx b/uuid-browser-2-app/src/UuidControls.tsx
new file mode 100644
index 0000000..4a32b2b
--- /dev/null
+++ b/uuid-browser-2-app/src/UuidControls.tsx
@@ -0,0 +1,52 @@
+import React from "react";
+
+const MODERN_BUTTON_STYLE: React.CSSProperties = {
+ marginTop: 32,
+ padding: "1em 2.5em",
+ fontSize: 20,
+ borderRadius: 12,
+ border: "none",
+ background: "linear-gradient(90deg, #646cff 0%, #7f53ff 100%)",
+ color: "#fff",
+ fontWeight: 700,
+ cursor: "pointer",
+ boxShadow: "0 2px 12px #646cff33",
+ transition: "background 0.2s, box-shadow 0.2s",
+ minWidth: 200,
+ letterSpacing: 1,
+};
+
+export function UuidControls({ loading, onGenerate, onAbort }: {
+ loading: boolean;
+ onGenerate: () => void;
+ onAbort: () => void;
+}) {
+ return (
+ <>
+