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

useThreadHeaderOptions.android.ts

11 lines378 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 sidebar: true,
9 fallback: null,
10 };