Open History to see the last commit
1import type {
2 ThreadGitControls as IosThreadGitControls,
3 ThreadGitMenu as IosThreadGitMenu,
4 useThreadGitRightHeaderItems as useIosThreadGitRightHeaderItems,
5} from "./ThreadGitControls";
6
7export type { ThreadGitMenuProps } from "./ThreadGitControls";
8
9type ThreadGitControlsProps = Parameters<typeof IosThreadGitControls>[0];
10const EMPTY_HEADER_ITEMS: ReturnType<typeof useIosThreadGitRightHeaderItems> = [];
11
12// oxlint-disable-next-line t3code/no-hookless-use-function -- Android stub of a hook; the iOS file calls hooks.
13export function useThreadGitRightHeaderItems(_props: ThreadGitControlsProps) {
14 return EMPTY_HEADER_ITEMS;
15}
16
17// oxlint-disable-next-line t3code/no-hookless-use-function -- Android stub of a hook; the iOS file calls hooks.
18export function useThreadGitCenterHeaderItems(_props: ThreadGitControlsProps) {
19 return EMPTY_HEADER_ITEMS;
20}
21
22export function ThreadGitControls(_props: ThreadGitControlsProps) {
23 return null;
24}
25
26export function ThreadGitMenu(_props: Parameters<typeof IosThreadGitMenu>[0]) {
27 return null;
28}
29
30// oxlint-disable-next-line t3code/no-hookless-use-function -- Android stub of a hook; the iOS file calls hooks.
31export function useThreadGitMenuDefinition(_props: Parameters<typeof IosThreadGitMenu>[0]) {
32 return null;
33}