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. */