From 1ba1095aa01a3ea13da212422db4c1c3c3e35aa2 Mon Sep 17 00:00:00 2001 From: lukewalczak Date: Tue, 22 Apr 2025 14:33:37 +0200 Subject: [PATCH] fix: omit safe area insets in appbar header types --- src/components/Appbar/AppbarHeader.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Appbar/AppbarHeader.tsx b/src/components/Appbar/AppbarHeader.tsx index 96722a0b6b..e0eb6386d7 100644 --- a/src/components/Appbar/AppbarHeader.tsx +++ b/src/components/Appbar/AppbarHeader.tsx @@ -22,7 +22,10 @@ import { useInternalTheme } from '../../core/theming'; import shadow from '../../styles/shadow'; import type { ThemeProp } from '../../types'; -export type Props = React.ComponentProps & { +export type Props = Omit< + React.ComponentProps, + 'safeAreaInsets' +> & { /** * Whether the background color is a dark color. A dark header will render light text and vice-versa. */