12 lines
378 B
TypeScript
12 lines
378 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 } },
|
|
sidebar: true,
|
|
fallback: null,
|
|
};
|
|
}
|