diff --git a/src/components/Button.tsx b/src/components/Button.tsx index db51e51f2d..871c17ed51 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -76,7 +76,6 @@ export type ButtonProps = Pick< | 'onHoverOut' | 'onPressIn' | 'onPressOut' - | 'onLayout' > & AccessibilityProps & VariantProps & { diff --git a/src/components/Layout/Header/index.tsx b/src/components/Layout/Header/index.tsx index d6f8f1c1f9..321f7201f7 100644 --- a/src/components/Layout/Header/index.tsx +++ b/src/components/Layout/Header/index.tsx @@ -74,7 +74,6 @@ export function Content({ style={[ a.flex_1, a.justify_center, - a.z_20, isIOS && align === 'platform' && a.align_center, {minHeight: HEADER_SLOT_SIZE}, ]}> @@ -89,7 +88,7 @@ export function Slot({children}: {children?: React.ReactNode}) { return ( - {open && !isWeb && ( - - )} + + + + + + - - {avatar && ( - - )} - - - {/* Should roughly matchl Layout.Header.TitleText */} - - {title} - - {/* Should roughly matchl Layout.Header.SubtitleText */} - - - By {sanitizeHandle(creator.handle, '@')} - - {' • '} - - {plural(likeCount, { - one: '# like', - other: '# likes', - })} - - - - - - - - )} - - - - - - - - - + + + + + ) }