+ }
+ variant="light"
+ >
+ {t(
+ "Copy your API key now and store it somewhere safe. For security reasons it will not be shown again.",
+ )}
+
+
+
+
+ {t("Token")}
+
+
+
+ {created.token}
+
+
+ {({ copied, copy }) => (
+
+ ) : (
+
+ )
+ }
+ onClick={copy}
+ >
+ {copied ? t("Copied") : t("Copy")}
+
+ )}
+
+
+
+
+
+ {expiresAt
+ ? t("Expires {{date}}", {
+ date: formatLocalized(
+ new Date(expiresAt),
+ "MMM dd, yyyy",
+ "PP",
+ locale,
+ ),
+ })
+ : t("This key never expires")}
+
+
+
+
+
+
+ )}
+