Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

useThreadHeaderOptions.android.ts

13 lines480 Bytes

1import type { useThreadHeaderOptions as useIosThreadHeaderOptions } from "./useThreadHeaderOptions";
2​
3export function useThreadHeaderOptions(
4 props: Parameters<typeof useIosThreadHeaderOptions>[0],
5): ReturnType<typeof useIosThreadHeaderOptions> {
6 return {
7 options: { contentStyle: { backgroundColor: props.headerColor } },
8 // Android renders header actions as children, not native item factories.
9 optionsVersion: [],
10 sidebar: true,
11 fallback: null,
12 };