From 714d3464bd9ea773a81d95e9a19fa6ff9f307303 Mon Sep 17 00:00:00 2001 From: LionTion Date: Mon, 12 Oct 2026 13:51:18 +0200 Subject: [PATCH] few changes --- src/components/OldButton.tsx | 4 ++-- src/components/PermissionCheck.tsx | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/components/OldButton.tsx b/src/components/OldButton.tsx index e07d914..bc96758 100644 --- a/src/components/OldButton.tsx +++ b/src/components/OldButton.tsx @@ -1,11 +1,11 @@ "use client"; -import React, { CSSProperties, MouseEventHandler } from 'react'; +import React, { CSSProperties, MouseEventHandler, ReactNode } from 'react'; import styles from "@/css/OldButton.module.css"; import clsx from 'clsx'; interface OldButtonProps { - children?: string; + children?: ReactNode; long?: boolean; red?: boolean; disabled?: boolean; diff --git a/src/components/PermissionCheck.tsx b/src/components/PermissionCheck.tsx index 2679839..3b57a9c 100644 --- a/src/components/PermissionCheck.tsx +++ b/src/components/PermissionCheck.tsx @@ -71,16 +71,24 @@ export default function PermissionCheck({ disabled={isCamPermissionLoading || cameraStatus === "granted"} onAction={requestCamPermission} > - Kamera-Berechtigung - {`Status +
+ {`Status +

Kamera-Berechtigung

+
+ +

GPS-Berechtigung - {`Status + > +
+ {`Status +

GPS-Berechtigung

+
+
)