| 1 | import type { useThreadHeaderOptions as useIosThreadHeaderOptions } from "./useThreadHeaderOptions"; |
| 2 | |
| 3 | export 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 | }; |
| 13 | } |