Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
14 lines
480 B
TypeScript
14 lines
480 B
TypeScript
import type { useThreadHeaderOptions as useIosThreadHeaderOptions } from "./useThreadHeaderOptions";
|
|
|
|
export function useThreadHeaderOptions(
|
|
props: Parameters<typeof useIosThreadHeaderOptions>[0],
|
|
): ReturnType<typeof useIosThreadHeaderOptions> {
|
|
return {
|
|
options: { contentStyle: { backgroundColor: props.headerColor } },
|
|
// Android renders header actions as children, not native item factories.
|
|
optionsVersion: [],
|
|
sidebar: true,
|
|
fallback: null,
|
|
};
|
|
}
|