Skip to content

Commit d4cca22

Browse files
authored
fix: omit safe area insets in appbar header types (#4687)
1 parent 23604c0 commit d4cca22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/Appbar/AppbarHeader.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ import { useInternalTheme } from '../../core/theming';
2222
import shadow from '../../styles/shadow';
2323
import type { ThemeProp } from '../../types';
2424

25-
export type Props = React.ComponentProps<typeof Appbar> & {
25+
export type Props = Omit<
26+
React.ComponentProps<typeof Appbar>,
27+
'safeAreaInsets'
28+
> & {
2629
/**
2730
* Whether the background color is a dark color. A dark header will render light text and vice-versa.
2831
*/

0 commit comments

Comments
 (0)